diff --git a/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainService.cs b/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainService.cs
index 22e6da8dd7e7..7d8d4a3ec494 100644
--- a/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainService.cs
+++ b/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainService.cs
@@ -123,74 +123,80 @@ public partial class DomainService :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Location = value ?? null; }
/// Internal Acessors for DeploymentId
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.DeploymentId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DeploymentId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DeploymentId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.DeploymentId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DeploymentId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DeploymentId = value ?? null; }
/// Internal Acessors for DomainSecuritySetting
- Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainSecuritySettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.DomainSecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DomainSecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DomainSecuritySetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainSecuritySettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.DomainSecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DomainSecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).DomainSecuritySetting = value ?? null /* model class */; }
/// Internal Acessors for LdapSettingCertificateNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapSettingCertificateNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapSettingCertificateNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for LdapSettingCertificateThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapSettingCertificateThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateThumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapSettingCertificateThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingCertificateThumbprint = value ?? null; }
/// Internal Acessors for LdapSettingPublicCertificate
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapSettingPublicCertificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingPublicCertificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingPublicCertificate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapSettingPublicCertificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingPublicCertificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapSettingPublicCertificate = value ?? null; }
/// Internal Acessors for LdapsSetting
- Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapsSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.LdapsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).LdapsSetting = value ?? null /* model class */; }
+
+ /// Internal Acessors for MigrationProgressCompletionPercentage
+ double? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressCompletionPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressCompletionPercentage = value ?? default(double); }
+
+ /// Internal Acessors for MigrationProgressMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressMessage = value ?? null; }
/// Internal Acessors for MigrationProperty
- Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProperties Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProperties Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProperty = value ?? null /* model class */; }
/// Internal Acessors for MigrationPropertyMigrationProgress
- Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgress Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationPropertyMigrationProgress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyMigrationProgress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyMigrationProgress = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgress Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationPropertyMigrationProgress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyMigrationProgress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyMigrationProgress = value ?? null /* model class */; }
/// Internal Acessors for MigrationPropertyOldSubnetId
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationPropertyOldSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldSubnetId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationPropertyOldSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldSubnetId = value ?? null; }
/// Internal Acessors for MigrationPropertyOldVnetSiteId
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationPropertyOldVnetSiteId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldVnetSiteId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldVnetSiteId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.MigrationPropertyOldVnetSiteId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldVnetSiteId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationPropertyOldVnetSiteId = value ?? null; }
/// Internal Acessors for NotificationSetting
- Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.INotificationSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.NotificationSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).NotificationSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).NotificationSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.INotificationSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.NotificationSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).NotificationSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).NotificationSetting = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceProperties Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.DomainServiceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceForestSetting
- Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceForestSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.ResourceForestSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ResourceForestSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ResourceForestSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceForestSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.ResourceForestSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ResourceForestSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).ResourceForestSetting = value ?? null /* model class */; }
/// Internal Acessors for SyncOwner
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.SyncOwner { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).SyncOwner; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).SyncOwner = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.SyncOwner { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).SyncOwner; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).SyncOwner = value ?? null; }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).TenantId = value ?? null; }
/// Internal Acessors for Version
- int? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).Version = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServiceInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).Version = value ?? default(int); }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Completion Percentage
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.DoNotFormat]
- public double? MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressCompletionPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressCompletionPercentage = value ?? default(double); }
+ public double? MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressCompletionPercentage; }
/// Progress Message
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.DoNotFormat]
- public string MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressMessage = value ?? null; }
+ public string MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal)Property).MigrationProgressMessage; }
/// Old Subnet Id
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.PropertyOrigin.Inlined)]
diff --git a/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainServiceProperties.cs b/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainServiceProperties.cs
index 74cb527b6a11..6f55fe049bd3 100644
--- a/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainServiceProperties.cs
+++ b/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/DomainServiceProperties.cs
@@ -119,28 +119,34 @@ public partial class DomainServiceProperties :
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainSecuritySettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.DomainSecuritySetting { get => (this._domainSecuritySetting = this._domainSecuritySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.DomainSecuritySettings()); set { {_domainSecuritySetting = value;} } }
/// Internal Acessors for LdapSettingCertificateNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.LdapSettingCertificateNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.LdapSettingCertificateNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for LdapSettingCertificateThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.LdapSettingCertificateThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateThumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.LdapSettingCertificateThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).CertificateThumbprint = value ?? null; }
/// Internal Acessors for LdapSettingPublicCertificate
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.LdapSettingPublicCertificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).PublicCertificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).PublicCertificate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.LdapSettingPublicCertificate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).PublicCertificate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettingsInternal)LdapsSetting).PublicCertificate = value ?? null; }
/// Internal Acessors for LdapsSetting
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.ILdapsSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.LdapsSetting { get => (this._ldapsSetting = this._ldapsSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.LdapsSettings()); set { {_ldapsSetting = value;} } }
+ /// Internal Acessors for MigrationProgressCompletionPercentage
+ double? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressCompletionPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressCompletionPercentage = value ?? default(double); }
+
+ /// Internal Acessors for MigrationProgressMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressMessage = value ?? null; }
+
/// Internal Acessors for MigrationProperty
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProperties Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationProperty { get => (this._migrationProperty = this._migrationProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.MigrationProperties()); set { {_migrationProperty = value;} } }
/// Internal Acessors for MigrationPropertyMigrationProgress
- Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgress Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationPropertyMigrationProgress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgress = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgress Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationPropertyMigrationProgress { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgress; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgress = value ?? null /* model class */; }
/// Internal Acessors for MigrationPropertyOldSubnetId
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationPropertyOldSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldSubnetId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationPropertyOldSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldSubnetId = value ?? null; }
/// Internal Acessors for MigrationPropertyOldVnetSiteId
- string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationPropertyOldVnetSiteId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldVnetSiteId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldVnetSiteId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.MigrationPropertyOldVnetSiteId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldVnetSiteId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).OldVnetSiteId = value ?? null; }
/// Internal Acessors for NotificationSetting
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.INotificationSettings Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IDomainServicePropertiesInternal.NotificationSetting { get => (this._notificationSetting = this._notificationSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.NotificationSettings()); set { {_notificationSetting = value;} } }
@@ -162,11 +168,11 @@ public partial class DomainServiceProperties :
/// Completion Percentage
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.PropertyOrigin.Inlined)]
- public double? MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressCompletionPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressCompletionPercentage = value ?? default(double); }
+ public double? MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressCompletionPercentage; }
/// Progress Message
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.PropertyOrigin.Inlined)]
- public string MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressMessage = value ?? null; }
+ public string MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal)MigrationProperty).MigrationProgressMessage; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProperties _migrationProperty;
diff --git a/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/MigrationProperties.cs b/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/MigrationProperties.cs
index 6daba840039c..3ff062b53b71 100644
--- a/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/MigrationProperties.cs
+++ b/generated/ADDomainServices/ADDomainServices.Autorest/generated/api/Models/MigrationProperties.cs
@@ -16,6 +16,12 @@ public partial class MigrationProperties :
/// Internal Acessors for MigrationProgress
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgress Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal.MigrationProgress { get => (this._migrationProgress = this._migrationProgress ?? new Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.MigrationProgress()); set { {_migrationProgress = value;} } }
+ /// Internal Acessors for MigrationProgressCompletionPercentage
+ double? Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal.MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).CompletionPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).CompletionPercentage = value ?? default(double); }
+
+ /// Internal Acessors for MigrationProgressMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal.MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).ProgressMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).ProgressMessage = value ?? null; }
+
/// Internal Acessors for OldSubnetId
string Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationPropertiesInternal.OldSubnetId { get => this._oldSubnetId; set { {_oldSubnetId = value;} } }
@@ -31,11 +37,11 @@ public partial class MigrationProperties :
/// Completion Percentage
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.PropertyOrigin.Inlined)]
- public double? MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).CompletionPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).CompletionPercentage = value ?? default(double); }
+ public double? MigrationProgressCompletionPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).CompletionPercentage; }
/// Progress Message
[Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Origin(Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.PropertyOrigin.Inlined)]
- public string MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).ProgressMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).ProgressMessage = value ?? null; }
+ public string MigrationProgressMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.IMigrationProgressInternal)MigrationProgress).ProgressMessage; }
/// Backing field for property.
private string _oldSubnetId;
diff --git a/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 81393e25bf14..1dbe5a2bd702 100644
--- a/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ADDomainServices/ADDomainServices.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/ADDomainServices/ADDomainServices.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index e850a77b4047..8e46ba0af2e9 100644
--- a/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/ADDomainServices/ADDomainServices.Autorest/generated/runtime/MessageAttribute.cs b/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/MessageAttribute.cs
index 52b1e0d01bb1..c5ab3b111f65 100644
--- a/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.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.ADDomainServices" : @"";
+
//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/ADDomainServices/ADDomainServices.Autorest/generated/runtime/Properties/Resources.resx b/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ADDomainServices/ADDomainServices.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ADDomainServices/ADDomainServices.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/Aks/Aks.Autorest/exports/New-AzAksMaintenanceConfiguration.ps1 b/generated/Aks/Aks.Autorest/exports/New-AzAksMaintenanceConfiguration.ps1
index e01e2644724b..04e3e80e8dfb 100644
--- a/generated/Aks/Aks.Autorest/exports/New-AzAksMaintenanceConfiguration.ps1
+++ b/generated/Aks/Aks.Autorest/exports/New-AzAksMaintenanceConfiguration.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a maintenance configuration in the specified managed cluster.
+Create a maintenance configuration in the specified managed cluster.
.Description
-create a maintenance configuration in the specified managed cluster.
+Create a maintenance configuration in the specified managed cluster.
.Example
$TimeSpan = New-AzAksTimeSpanObject -Start (Get-Date -Year 2023 -Month 3 -Day 1) -End (Get-Date -Year 2023 -Month 3 -Day 2)
$TimeInWeek = New-AzAksTimeInWeekObject -Day Sunday -HourSlot 1,2
diff --git a/generated/Aks/Aks.Autorest/exports/New-AzAksSnapshot.ps1 b/generated/Aks/Aks.Autorest/exports/New-AzAksSnapshot.ps1
index e1dbfd9b4973..89e68585bc54 100644
--- a/generated/Aks/Aks.Autorest/exports/New-AzAksSnapshot.ps1
+++ b/generated/Aks/Aks.Autorest/exports/New-AzAksSnapshot.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a snapshot.
+Create a snapshot.
.Description
-create a snapshot.
+Create a snapshot.
.Example
$pool = Get-AzAksNodePool -ResourceGroupName mygroup -ClusterName mycluster -Name default
New-AzAksSnapshot -ResourceGroupName mygroup -ResourceName 'snapshot1' -Location eastus -SnapshotType 'NodePool' -CreationDataSourceResourceId $pool.Id
diff --git a/generated/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1
index fd7262299534..bf03959fd07b 100644
--- a/generated/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -2272,9 +2272,9 @@ end {
<#
.Synopsis
-create a maintenance configuration in the specified managed cluster.
+Create a maintenance configuration in the specified managed cluster.
.Description
-create a maintenance configuration in the specified managed cluster.
+Create a maintenance configuration in the specified managed cluster.
.Example
$TimeSpan = New-AzAksTimeSpanObject -Start (Get-Date -Year 2023 -Month 3 -Day 1) -End (Get-Date -Year 2023 -Month 3 -Day 2)
$TimeInWeek = New-AzAksTimeInWeekObject -Day Sunday -HourSlot 1,2
@@ -2503,9 +2503,9 @@ end {
<#
.Synopsis
-create a snapshot.
+Create a snapshot.
.Description
-create a snapshot.
+Create a snapshot.
.Example
$pool = Get-AzAksNodePool -ResourceGroupName mygroup -ClusterName mycluster -Name default
New-AzAksSnapshot -ResourceGroupName mygroup -ResourceName 'snapshot1' -Location eastus -SnapshotType 'NodePool' -CreationDataSourceResourceId $pool.Id
@@ -3920,9 +3920,9 @@ end {
<#
.Synopsis
-update a maintenance configuration in the specified managed cluster.
+Update a maintenance configuration in the specified managed cluster.
.Description
-update a maintenance configuration in the specified managed cluster.
+Update a maintenance configuration in the specified managed cluster.
.Example
$TimeSpan = New-AzAksTimeSpanObject -Start (Get-Date -Year 2023 -Month 3 -Day 2) -End (Get-Date -Year 2023 -Month 3 -Day 3)
$TimeInWeek = New-AzAksTimeInWeekObject -Day Sunday -HourSlot 2,3
diff --git a/generated/Aks/Aks.Autorest/exports/Update-AzAksMaintenanceConfiguration.ps1 b/generated/Aks/Aks.Autorest/exports/Update-AzAksMaintenanceConfiguration.ps1
index 05273db88f7d..c72e5c88ca8e 100644
--- a/generated/Aks/Aks.Autorest/exports/Update-AzAksMaintenanceConfiguration.ps1
+++ b/generated/Aks/Aks.Autorest/exports/Update-AzAksMaintenanceConfiguration.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a maintenance configuration in the specified managed cluster.
+Update a maintenance configuration in the specified managed cluster.
.Description
-update a maintenance configuration in the specified managed cluster.
+Update a maintenance configuration in the specified managed cluster.
.Example
$TimeSpan = New-AzAksTimeSpanObject -Start (Get-Date -Year 2023 -Month 3 -Day 2) -End (Get-Date -Year 2023 -Month 3 -Day 3)
$TimeInWeek = New-AzAksTimeInWeekObject -Day Sunday -HourSlot 2,3
diff --git a/generated/Aks/Aks.Autorest/generated/api/Aks.cs b/generated/Aks/Aks.Autorest/generated/api/Aks.cs
index 38e5b7cc5461..fc264c3160d1 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Aks.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Aks.cs
@@ -24,6 +24,7 @@ public partial class Aks
/// The name of the managed cluster resource.
/// The name of the agent pool.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -31,7 +32,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task AgentPoolsAbortLatestOperation(string subscriptionId, string resourceGroupName, string resourceName, string agentPoolName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task AgentPoolsAbortLatestOperation(string subscriptionId, string resourceGroupName, string resourceName, string agentPoolName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -61,7 +62,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.AgentPoolsAbortLatestOperation_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.AgentPoolsAbortLatestOperation_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -72,6 +73,7 @@ public partial class Aks
///
///
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -79,7 +81,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task AgentPoolsAbortLatestOperationViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task AgentPoolsAbortLatestOperationViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -122,13 +124,14 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.AgentPoolsAbortLatestOperation_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.AgentPoolsAbortLatestOperation_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -136,7 +139,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task AgentPoolsAbortLatestOperation_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task AgentPoolsAbortLatestOperation_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -245,6 +248,12 @@ public partial class Aks
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
case global::System.Net.HttpStatusCode.NoContent:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -4551,6 +4560,7 @@ public partial class Aks
/// The name of the resource group. The name is case insensitive.
/// The name of the managed cluster resource.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -4558,7 +4568,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersAbortLatestOperation(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersAbortLatestOperation(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -4586,7 +4596,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersAbortLatestOperation_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersAbortLatestOperation_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -4597,6 +4607,7 @@ public partial class Aks
///
///
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -4604,7 +4615,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersAbortLatestOperationViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersAbortLatestOperationViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -4644,7 +4655,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersAbortLatestOperation_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersAbortLatestOperation_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -4653,6 +4664,7 @@ public partial class Aks
///
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -4660,7 +4672,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task ManagedClustersAbortLatestOperation_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task ManagedClustersAbortLatestOperation_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -4769,6 +4781,12 @@ public partial class Aks
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
case global::System.Net.HttpStatusCode.NoContent:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -10144,6 +10162,7 @@ public partial class Aks
/// The name of the resource group. The name is case insensitive.
/// The name of the managed cluster resource.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -10151,7 +10170,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersRotateClusterCertificates(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersRotateClusterCertificates(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -10179,7 +10198,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersRotateClusterCertificates_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersRotateClusterCertificates_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -10189,6 +10208,7 @@ public partial class Aks
///
///
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -10196,7 +10216,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersRotateClusterCertificatesViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersRotateClusterCertificatesViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -10236,7 +10256,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersRotateClusterCertificates_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersRotateClusterCertificates_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -10245,6 +10265,7 @@ public partial class Aks
///
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -10252,7 +10273,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task ManagedClustersRotateClusterCertificates_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task ManagedClustersRotateClusterCertificates_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -10361,6 +10382,12 @@ public partial class Aks
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
case global::System.Net.HttpStatusCode.NoContent:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -10417,6 +10444,7 @@ public partial class Aks
/// The name of the resource group. The name is case insensitive.
/// The name of the managed cluster resource.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -10424,7 +10452,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersRotateServiceAccountSigningKeys(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersRotateServiceAccountSigningKeys(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -10452,13 +10480,14 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersRotateServiceAccountSigningKeys_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersRotateServiceAccountSigningKeys_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
/// Rotates the service account signing keys of a managed cluster.
///
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -10466,7 +10495,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersRotateServiceAccountSigningKeysViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersRotateServiceAccountSigningKeysViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -10506,7 +10535,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersRotateServiceAccountSigningKeys_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersRotateServiceAccountSigningKeys_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -10515,6 +10544,7 @@ public partial class Aks
///
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -10522,7 +10552,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task ManagedClustersRotateServiceAccountSigningKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task ManagedClustersRotateServiceAccountSigningKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -10631,6 +10661,12 @@ public partial class Aks
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
case global::System.Net.HttpStatusCode.NoContent:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -11347,6 +11383,7 @@ public partial class Aks
/// The name of the resource group. The name is case insensitive.
/// The name of the managed cluster resource.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -11354,7 +11391,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersStart(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersStart(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -11382,7 +11419,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersStart_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersStart_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -11391,6 +11428,7 @@ public partial class Aks
///
///
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -11398,7 +11436,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersStartViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersStartViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -11438,13 +11476,14 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersStart_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersStart_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -11452,7 +11491,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task ManagedClustersStart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task ManagedClustersStart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -11561,6 +11600,12 @@ public partial class Aks
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
case global::System.Net.HttpStatusCode.NoContent:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -11622,6 +11667,7 @@ public partial class Aks
/// The name of the resource group. The name is case insensitive.
/// The name of the managed cluster resource.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -11629,7 +11675,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersStop(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersStop(string subscriptionId, string resourceGroupName, string resourceName, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -11657,7 +11703,7 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersStop_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersStop_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
@@ -11669,6 +11715,7 @@ public partial class Aks
///
///
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -11676,7 +11723,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task ManagedClustersStopViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task ManagedClustersStopViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-02-01";
// Constant Parameters
@@ -11716,13 +11763,14 @@ public partial class Aks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.ManagedClustersStop_Call (request, onNoContent,onDefault,eventListener,sender);
+ await this.ManagedClustersStop_Call (request, onNoContent,onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 204 (NoContent).
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -11730,7 +11778,7 @@ public partial class Aks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task ManagedClustersStop_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task ManagedClustersStop_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -11839,6 +11887,12 @@ public partial class Aks
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
case global::System.Net.HttpStatusCode.NoContent:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/AgentPool.cs b/generated/Aks/Aks.Autorest/generated/api/Models/AgentPool.cs
index 2e6edebf7c53..db52c3f62938 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/AgentPool.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/AgentPool.cs
@@ -182,40 +182,40 @@ public partial class AgentPool :
public int? MaxPod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).MaxPod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).MaxPod = value ?? default(int); }
/// Internal Acessors for CreationData
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICreationData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.CreationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CreationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CreationData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICreationData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.CreationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CreationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CreationData = value ?? null /* model class */; }
/// Internal Acessors for CurrentOrchestratorVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.CurrentOrchestratorVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CurrentOrchestratorVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CurrentOrchestratorVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.CurrentOrchestratorVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CurrentOrchestratorVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).CurrentOrchestratorVersion = value ?? null; }
/// Internal Acessors for KubeletConfig
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IKubeletConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.KubeletConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).KubeletConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).KubeletConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IKubeletConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.KubeletConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).KubeletConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).KubeletConfig = value ?? null /* model class */; }
/// Internal Acessors for LinuxOSConfig
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ILinuxOSConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.LinuxOSConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).LinuxOSConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).LinuxOSConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ILinuxOSConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.LinuxOSConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).LinuxOSConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).LinuxOSConfig = value ?? null /* model class */; }
/// Internal Acessors for NodeImageVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.NodeImageVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).NodeImageVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).NodeImageVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.NodeImageVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).NodeImageVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).NodeImageVersion = value ?? null; }
/// Internal Acessors for PowerState
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).PowerState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).PowerState = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfileProperties Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterAgentPoolProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for UpgradeSetting
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeSettings Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.UpgradeSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).UpgradeSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).UpgradeSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeSettings Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolInternal.UpgradeSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).UpgradeSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)Property).UpgradeSetting = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type = value ?? null; }
/// The minimum number of nodes for auto-scaling
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Aks.PropertyOrigin.Inlined)]
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ContainerServiceNetworkProfile.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ContainerServiceNetworkProfile.cs
index 8ce9b25a53aa..ff5f27d38063 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ContainerServiceNetworkProfile.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ContainerServiceNetworkProfile.cs
@@ -107,19 +107,19 @@ public partial class ContainerServiceNetworkProfile :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.LoadBalancerProfile { get => (this._loadBalancerProfile = this._loadBalancerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterLoadBalancerProfile()); set { {_loadBalancerProfile = value;} } }
/// Internal Acessors for LoadBalancerProfileManagedOutboundIP
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileManagedOutboundIPs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.LoadBalancerProfileManagedOutboundIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).ManagedOutboundIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).ManagedOutboundIP = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileManagedOutboundIPs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.LoadBalancerProfileManagedOutboundIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).ManagedOutboundIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).ManagedOutboundIP = value ?? null /* model class */; }
/// Internal Acessors for LoadBalancerProfileOutboundIP
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileOutboundIPs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.LoadBalancerProfileOutboundIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIP = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileOutboundIPs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.LoadBalancerProfileOutboundIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIP = value ?? null /* model class */; }
/// Internal Acessors for LoadBalancerProfileOutboundIPPrefix
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileOutboundIPPrefixes Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.LoadBalancerProfileOutboundIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIPPrefix = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileOutboundIPPrefixes Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.LoadBalancerProfileOutboundIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterLoadBalancerProfileInternal)LoadBalancerProfile).OutboundIPPrefix = value ?? null /* model class */; }
/// Internal Acessors for NatGatewayProfile
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterNatGatewayProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.NatGatewayProfile { get => (this._natGatewayProfile = this._natGatewayProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterNatGatewayProfile()); set { {_natGatewayProfile = value;} } }
/// Internal Acessors for NatGatewayProfileManagedOutboundIPProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterManagedOutboundIPProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.NatGatewayProfileManagedOutboundIPProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterNatGatewayProfileInternal)NatGatewayProfile).ManagedOutboundIPProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterNatGatewayProfileInternal)NatGatewayProfile).ManagedOutboundIPProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterManagedOutboundIPProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfileInternal.NatGatewayProfileManagedOutboundIPProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterNatGatewayProfileInternal)NatGatewayProfile).ManagedOutboundIPProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterNatGatewayProfileInternal)NatGatewayProfile).ManagedOutboundIPProfile = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterNatGatewayProfile _natGatewayProfile;
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/MaintenanceConfiguration.cs b/generated/Aks/Aks.Autorest/generated/api/Models/MaintenanceConfiguration.cs
index bd49908f36c1..212d51249c2c 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/MaintenanceConfiguration.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/MaintenanceConfiguration.cs
@@ -32,31 +32,31 @@ public partial class MaintenanceConfiguration :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISubResourceInternal)__subResource).Type = value ?? null; }
///
/// The name of the resource that is unique within a resource group. This name can be used to access the resource.
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedCluster.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedCluster.cs
index 3824aab6e4c7..4d12b9b07dbb 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedCluster.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedCluster.cs
@@ -430,163 +430,163 @@ public partial class ManagedCluster :
public bool? MetricEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MetricEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MetricEnabled = value ?? default(bool); }
/// Internal Acessors for AadProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAadProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AadProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AadProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AadProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAadProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AadProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AadProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AadProfile = value ?? null /* model class */; }
/// Internal Acessors for ApiServerAccessProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterApiServerAccessProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.ApiServerAccessProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ApiServerAccessProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ApiServerAccessProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterApiServerAccessProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.ApiServerAccessProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ApiServerAccessProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ApiServerAccessProfile = value ?? null /* model class */; }
/// Internal Acessors for AutoScalerProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesAutoScalerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AutoScalerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoScalerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoScalerProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesAutoScalerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AutoScalerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoScalerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoScalerProfile = value ?? null /* model class */; }
/// Internal Acessors for AutoUpgradeProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAutoUpgradeProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AutoUpgradeProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoUpgradeProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoUpgradeProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAutoUpgradeProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AutoUpgradeProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoUpgradeProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AutoUpgradeProfile = value ?? null /* model class */; }
/// Internal Acessors for AzureMonitorProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AzureMonitorProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AzureMonitorProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfile = value ?? null /* model class */; }
/// Internal Acessors for AzureMonitorProfileMetric
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AzureMonitorProfileMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfileMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfileMetric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AzureMonitorProfileMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfileMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzureMonitorProfileMetric = value ?? null /* model class */; }
/// Internal Acessors for AzurePortalFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AzurePortalFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzurePortalFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzurePortalFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.AzurePortalFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzurePortalFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).AzurePortalFqdn = value ?? null; }
/// Internal Acessors for CurrentKubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.CurrentKubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).CurrentKubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).CurrentKubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.CurrentKubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).CurrentKubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).CurrentKubernetesVersion = value ?? null; }
/// Internal Acessors for DefenderSecurityMonitoring
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderSecurityMonitoring Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.DefenderSecurityMonitoring { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).DefenderSecurityMonitoring; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).DefenderSecurityMonitoring = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderSecurityMonitoring Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.DefenderSecurityMonitoring { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).DefenderSecurityMonitoring; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).DefenderSecurityMonitoring = value ?? null /* model class */; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for Fqdn
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).Fqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).Fqdn = value ?? null; }
/// Internal Acessors for HttpProxyConfig
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterHttpProxyConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.HttpProxyConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).HttpProxyConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).HttpProxyConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterHttpProxyConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.HttpProxyConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).HttpProxyConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).HttpProxyConfig = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentity Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LinuxProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceLinuxProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.LinuxProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceLinuxProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.LinuxProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfile = value ?? null /* model class */; }
/// Internal Acessors for LinuxProfileSsh
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceSshConfiguration Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfileSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfileSsh = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceSshConfiguration Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfileSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).LinuxProfileSsh = value ?? null /* model class */; }
/// Internal Acessors for MaxAgentPool
- int? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.MaxAgentPool { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MaxAgentPool; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MaxAgentPool = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.MaxAgentPool { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MaxAgentPool; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MaxAgentPool = value ?? default(int); }
/// Internal Acessors for MetricKubeStateMetric
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileKubeStateMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.MetricKubeStateMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MetricKubeStateMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MetricKubeStateMetric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileKubeStateMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.MetricKubeStateMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MetricKubeStateMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).MetricKubeStateMetric = value ?? null /* model class */; }
/// Internal Acessors for OidcIssuerProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterOidcIssuerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.OidcIssuerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterOidcIssuerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.OidcIssuerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfile = value ?? null /* model class */; }
/// Internal Acessors for OidcIssuerProfileIssuerUrl
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl = value ?? null; }
/// Internal Acessors for PodIdentityProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PodIdentityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PodIdentityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PodIdentityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PodIdentityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PodIdentityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PodIdentityProfile = value ?? null /* model class */; }
/// Internal Acessors for PowerState
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerState = value ?? null /* model class */; }
/// Internal Acessors for PowerStateCode
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PowerStateCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerStateCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerStateCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PowerStateCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerStateCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PowerStateCode = value ?? null; }
/// Internal Acessors for PrivateFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PrivateFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PrivateFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PrivateFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.PrivateFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PrivateFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).PrivateFqdn = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterProperties Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SecurityProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfile = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileAzureKeyVaultKm
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAzureKeyVaultKms Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileAzureKeyVaultKm { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileAzureKeyVaultKm; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileAzureKeyVaultKm = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAzureKeyVaultKms Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileAzureKeyVaultKm { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileAzureKeyVaultKm; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileAzureKeyVaultKm = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileDefender
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefender Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileDefender { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileDefender; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileDefender = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefender Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileDefender { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileDefender; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileDefender = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileImageCleaner
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileImageCleaner Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileImageCleaner { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileImageCleaner; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileImageCleaner = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileImageCleaner Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileImageCleaner { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileImageCleaner; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileImageCleaner = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileWorkloadIdentity
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity = value ?? null /* model class */; }
/// Internal Acessors for ServicePrincipalProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterServicePrincipalProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.ServicePrincipalProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ServicePrincipalProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ServicePrincipalProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterServicePrincipalProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.ServicePrincipalProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ServicePrincipalProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).ServicePrincipalProfile = value ?? null /* model class */; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSku Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterSku()); set { {_sku = value;} } }
/// Internal Acessors for StorageProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfile = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileBlobCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileBlobCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileBlobCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileBlobCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileBlobCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileBlobCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileBlobCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileBlobCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileBlobCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileDiskCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileDiskCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileDiskCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileDiskCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileDiskCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileDiskCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileDiskCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileDiskCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileDiskCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileFileCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileFileCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileFileCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileFileCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileFileCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileFileCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileFileCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileFileCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileFileCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileSnapshotController
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileSnapshotController Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileSnapshotController { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileSnapshotController; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileSnapshotController = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileSnapshotController Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.StorageProfileSnapshotController { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileSnapshotController; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).StorageProfileSnapshotController = value ?? null /* model class */; }
/// Internal Acessors for WindowProfileGmsaProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IWindowsGmsaProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WindowProfileGmsaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowProfileGmsaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowProfileGmsaProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IWindowsGmsaProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WindowProfileGmsaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowProfileGmsaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowProfileGmsaProfile = value ?? null /* model class */; }
/// Internal Acessors for WindowsProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWindowsProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WindowsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowsProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWindowsProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WindowsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WindowsProfile = value ?? null /* model class */; }
/// Internal Acessors for WorkloadAutoScalerProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WorkloadAutoScalerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WorkloadAutoScalerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfile = value ?? null /* model class */; }
/// Internal Acessors for WorkloadAutoScalerProfileKeda
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileKeda Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WorkloadAutoScalerProfileKeda { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfileKeda; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfileKeda = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileKeda Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterInternal.WorkloadAutoScalerProfileKeda { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfileKeda; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal)Property).WorkloadAutoScalerProfileKeda = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Aks.PropertyOrigin.Inherited)]
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAccessProfile.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAccessProfile.cs
index 0c4a061627ed..9e0dae4e4dea 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAccessProfile.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAccessProfile.cs
@@ -36,34 +36,34 @@ public partial class ManagedClusterAccessProfile :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAccessProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAccessProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.AccessProfile()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Aks.PropertyOrigin.Inherited)]
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAddonProfile.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAddonProfile.cs
index 9ca5dc9c517b..274e59a7d0c5 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAddonProfile.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAddonProfile.cs
@@ -50,13 +50,13 @@ public partial class ManagedClusterAddonProfile :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileIdentity Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterAddonProfileIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityClientId
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileInternal.IdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ClientId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileInternal.IdentityClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ClientId = value ?? null; }
/// Internal Acessors for IdentityObjectId
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileInternal.IdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ObjectId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileInternal.IdentityObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ObjectId = value ?? null; }
/// Internal Acessors for IdentityResourceId
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileInternal.IdentityResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ResourceId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAddonProfileInternal.IdentityResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentityInternal)Identity).ResourceId = value ?? null; }
/// Creates an new instance.
public ManagedClusterAddonProfile()
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAgentPoolProfile.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAgentPoolProfile.cs
index a25f886f6e97..12015ee63fe0 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAgentPoolProfile.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAgentPoolProfile.cs
@@ -193,28 +193,28 @@ public partial class ManagedClusterAgentPoolProfile :
public int? MaxPod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).MaxPod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).MaxPod = value ?? default(int); }
/// Internal Acessors for CreationData
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICreationData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.CreationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CreationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CreationData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICreationData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.CreationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CreationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CreationData = value ?? null /* model class */; }
/// Internal Acessors for CurrentOrchestratorVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.CurrentOrchestratorVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CurrentOrchestratorVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CurrentOrchestratorVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.CurrentOrchestratorVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CurrentOrchestratorVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).CurrentOrchestratorVersion = value ?? null; }
/// Internal Acessors for KubeletConfig
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IKubeletConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.KubeletConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).KubeletConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).KubeletConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IKubeletConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.KubeletConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).KubeletConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).KubeletConfig = value ?? null /* model class */; }
/// Internal Acessors for LinuxOSConfig
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ILinuxOSConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.LinuxOSConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).LinuxOSConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).LinuxOSConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ILinuxOSConfig Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.LinuxOSConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).LinuxOSConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).LinuxOSConfig = value ?? null /* model class */; }
/// Internal Acessors for NodeImageVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.NodeImageVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).NodeImageVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).NodeImageVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.NodeImageVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).NodeImageVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).NodeImageVersion = value ?? null; }
/// Internal Acessors for PowerState
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).PowerState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).PowerState = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for UpgradeSetting
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeSettings Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.UpgradeSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).UpgradeSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).UpgradeSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeSettings Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal.UpgradeSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).UpgradeSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAgentPoolProfilePropertiesInternal)__managedClusterAgentPoolProfileProperties).UpgradeSetting = value ?? null /* model class */; }
/// The minimum number of nodes for auto-scaling
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Aks.PropertyOrigin.Inherited)]
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAzureMonitorProfile.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAzureMonitorProfile.cs
index abcdd5dafb11..37040292299a 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAzureMonitorProfile.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterAzureMonitorProfile.cs
@@ -49,7 +49,7 @@ public partial class ManagedClusterAzureMonitorProfile :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal.Metric { get => (this._metric = this._metric ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterAzureMonitorProfileMetrics()); set { {_metric = value;} } }
/// Internal Acessors for MetricKubeStateMetric
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileKubeStateMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal.MetricKubeStateMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetricsInternal)Metric).KubeStateMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetricsInternal)Metric).KubeStateMetric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileKubeStateMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal.MetricKubeStateMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetricsInternal)Metric).KubeStateMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetricsInternal)Metric).KubeStateMetric = value ?? null /* model class */; }
/// Creates an new instance.
public ManagedClusterAzureMonitorProfile()
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentity.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentity.cs
index 943fa4380692..432f9135ba13 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentity.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentity.cs
@@ -56,31 +56,31 @@ public partial class ManagedClusterPodIdentity :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Message; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IUserAssignedIdentity Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.UserAssignedIdentity()); set { {_identity = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Message = value ?? null; }
/// Internal Acessors for ProvisioningErrorBodyError
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorBody Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.ProvisioningErrorBodyError { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).ManagedClusterPodIdentityProvisioningErrorBodyError; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).ManagedClusterPodIdentityProvisioningErrorBodyError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorBody Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.ProvisioningErrorBodyError { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).ManagedClusterPodIdentityProvisioningErrorBodyError; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).ManagedClusterPodIdentityProvisioningErrorBodyError = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningInfo
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfo Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.ProvisioningInfo { get => (this._provisioningInfo = this._provisioningInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterPodIdentityProvisioningInfo()); set { {_provisioningInfo = value;} } }
/// Internal Acessors for ProvisioningInfoError
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningError Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.ProvisioningInfoError { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningError Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.ProvisioningInfoError { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Error = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal)ProvisioningInfo).Target = value ?? null; }
/// Backing field for property.
private string _name;
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentityProvisioningInfo.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentityProvisioningInfo.cs
index d64fb416570c..be61f5450375 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentityProvisioningInfo.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterPodIdentityProvisioningInfo.cs
@@ -39,7 +39,7 @@ public partial class ManagedClusterPodIdentityProvisioningInfo :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningError Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterPodIdentityProvisioningError()); set { {_error = value;} } }
/// Internal Acessors for ManagedClusterPodIdentityProvisioningErrorBodyError
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorBody Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal.ManagedClusterPodIdentityProvisioningErrorBodyError { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorInternal)Error).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorInternal)Error).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorBody Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningInfoInternal.ManagedClusterPodIdentityProvisioningErrorBodyError { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorInternal)Error).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProvisioningErrorInternal)Error).Error = value ?? null /* model class */; }
///
/// The target of the particular error. For example, the name of the property in error.
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterProperties.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterProperties.cs
index fcf032f357ae..501a0c0c5836 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterProperties.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterProperties.cs
@@ -475,7 +475,7 @@ public partial class ManagedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.AzureMonitorProfile { get => (this._azureMonitorProfile = this._azureMonitorProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterAzureMonitorProfile()); set { {_azureMonitorProfile = value;} } }
/// Internal Acessors for AzureMonitorProfileMetric
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.AzureMonitorProfileMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).Metric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).Metric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.AzureMonitorProfileMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).Metric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).Metric = value ?? null /* model class */; }
/// Internal Acessors for AzurePortalFqdn
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.AzurePortalFqdn { get => this._azurePortalFqdn; set { {_azurePortalFqdn = value;} } }
@@ -484,7 +484,7 @@ public partial class ManagedClusterProperties :
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.CurrentKubernetesVersion { get => this._currentKubernetesVersion; set { {_currentKubernetesVersion = value;} } }
/// Internal Acessors for DefenderSecurityMonitoring
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderSecurityMonitoring Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.DefenderSecurityMonitoring { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).DefenderSecurityMonitoring; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).DefenderSecurityMonitoring = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderSecurityMonitoring Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.DefenderSecurityMonitoring { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).DefenderSecurityMonitoring; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).DefenderSecurityMonitoring = value ?? null /* model class */; }
/// Internal Acessors for Fqdn
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.Fqdn { get => this._fqdn; set { {_fqdn = value;} } }
@@ -496,19 +496,19 @@ public partial class ManagedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceLinuxProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.LinuxProfile { get => (this._linuxProfile = this._linuxProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ContainerServiceLinuxProfile()); set { {_linuxProfile = value;} } }
/// Internal Acessors for LinuxProfileSsh
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceSshConfiguration Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceLinuxProfileInternal)LinuxProfile).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceLinuxProfileInternal)LinuxProfile).Ssh = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceSshConfiguration Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceLinuxProfileInternal)LinuxProfile).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceLinuxProfileInternal)LinuxProfile).Ssh = value ?? null /* model class */; }
/// Internal Acessors for MaxAgentPool
int? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.MaxAgentPool { get => this._maxAgentPool; set { {_maxAgentPool = value;} } }
/// Internal Acessors for MetricKubeStateMetric
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileKubeStateMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.MetricKubeStateMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).MetricKubeStateMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).MetricKubeStateMetric = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileKubeStateMetrics Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.MetricKubeStateMetric { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).MetricKubeStateMetric; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterAzureMonitorProfileInternal)AzureMonitorProfile).MetricKubeStateMetric = value ?? null /* model class */; }
/// Internal Acessors for OidcIssuerProfile
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterOidcIssuerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.OidcIssuerProfile { get => (this._oidcIssuerProfile = this._oidcIssuerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterOidcIssuerProfile()); set { {_oidcIssuerProfile = value;} } }
/// Internal Acessors for OidcIssuerProfileIssuerUrl
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl = value ?? null; }
/// Internal Acessors for PodIdentityProfile
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPodIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.PodIdentityProfile { get => (this._podIdentityProfile = this._podIdentityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterPodIdentityProfile()); set { {_podIdentityProfile = value;} } }
@@ -517,7 +517,7 @@ public partial class ManagedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.PowerState { get => (this._powerState = this._powerState ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.PowerState()); set { {_powerState = value;} } }
/// Internal Acessors for PowerStateCode
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.PowerStateCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerStateInternal)PowerState).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerStateInternal)PowerState).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.PowerStateCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerStateInternal)PowerState).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPowerStateInternal)PowerState).Code = value ?? null; }
/// Internal Acessors for PrivateFqdn
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.PrivateFqdn { get => this._privateFqdn; set { {_privateFqdn = value;} } }
@@ -529,16 +529,16 @@ public partial class ManagedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfile { get => (this._securityProfile = this._securityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterSecurityProfile()); set { {_securityProfile = value;} } }
/// Internal Acessors for SecurityProfileAzureKeyVaultKm
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAzureKeyVaultKms Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileAzureKeyVaultKm { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).AzureKeyVaultKm; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).AzureKeyVaultKm = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAzureKeyVaultKms Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileAzureKeyVaultKm { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).AzureKeyVaultKm; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).AzureKeyVaultKm = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileDefender
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefender Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileDefender { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).Defender; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).Defender = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefender Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileDefender { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).Defender; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).Defender = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileImageCleaner
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileImageCleaner Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileImageCleaner { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).ImageCleaner; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).ImageCleaner = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileImageCleaner Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileImageCleaner { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).ImageCleaner; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).ImageCleaner = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileWorkloadIdentity
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).WorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).WorkloadIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).WorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal)SecurityProfile).WorkloadIdentity = value ?? null /* model class */; }
/// Internal Acessors for ServicePrincipalProfile
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterServicePrincipalProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.ServicePrincipalProfile { get => (this._servicePrincipalProfile = this._servicePrincipalProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterServicePrincipalProfile()); set { {_servicePrincipalProfile = value;} } }
@@ -547,19 +547,19 @@ public partial class ManagedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterStorageProfile()); set { {_storageProfile = value;} } }
/// Internal Acessors for StorageProfileBlobCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileBlobCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileBlobCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).BlobCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).BlobCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileBlobCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileBlobCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).BlobCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).BlobCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileDiskCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileDiskCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileDiskCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).DiskCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).DiskCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileDiskCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileDiskCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).DiskCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).DiskCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileFileCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileFileCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileFileCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).FileCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).FileCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileFileCsiDriver Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileFileCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).FileCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).FileCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileSnapshotController
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileSnapshotController Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileSnapshotController { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).SnapshotController; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).SnapshotController = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileSnapshotController Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.StorageProfileSnapshotController { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).SnapshotController; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterStorageProfileInternal)StorageProfile).SnapshotController = value ?? null /* model class */; }
/// Internal Acessors for WindowProfileGmsaProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IWindowsGmsaProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.WindowProfileGmsaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWindowsProfileInternal)WindowsProfile).GmsaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWindowsProfileInternal)WindowsProfile).GmsaProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IWindowsGmsaProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.WindowProfileGmsaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWindowsProfileInternal)WindowsProfile).GmsaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWindowsProfileInternal)WindowsProfile).GmsaProfile = value ?? null /* model class */; }
/// Internal Acessors for WindowsProfile
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWindowsProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.WindowsProfile { get => (this._windowsProfile = this._windowsProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterWindowsProfile()); set { {_windowsProfile = value;} } }
@@ -568,7 +568,7 @@ public partial class ManagedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.WorkloadAutoScalerProfile { get => (this._workloadAutoScalerProfile = this._workloadAutoScalerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterWorkloadAutoScalerProfile()); set { {_workloadAutoScalerProfile = value;} } }
/// Internal Acessors for WorkloadAutoScalerProfileKeda
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileKeda Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.WorkloadAutoScalerProfileKeda { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileInternal)WorkloadAutoScalerProfile).Keda; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileInternal)WorkloadAutoScalerProfile).Keda = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileKeda Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPropertiesInternal.WorkloadAutoScalerProfileKeda { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileInternal)WorkloadAutoScalerProfile).Keda; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterWorkloadAutoScalerProfileInternal)WorkloadAutoScalerProfile).Keda = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfile _networkProfile;
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterSecurityProfile.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterSecurityProfile.cs
index 51adb46521ef..712606142367 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterSecurityProfile.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterSecurityProfile.cs
@@ -87,7 +87,7 @@ public partial class ManagedClusterSecurityProfile :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefender Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal.Defender { get => (this._defender = this._defender ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterSecurityProfileDefender()); set { {_defender = value;} } }
/// Internal Acessors for DefenderSecurityMonitoring
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderSecurityMonitoring Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal.DefenderSecurityMonitoring { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderInternal)Defender).SecurityMonitoring; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderInternal)Defender).SecurityMonitoring = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderSecurityMonitoring Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal.DefenderSecurityMonitoring { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderInternal)Defender).SecurityMonitoring; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileDefenderInternal)Defender).SecurityMonitoring = value ?? null /* model class */; }
/// Internal Acessors for ImageCleaner
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileImageCleaner Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterSecurityProfileInternal.ImageCleaner { get => (this._imageCleaner = this._imageCleaner ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterSecurityProfileImageCleaner()); set { {_imageCleaner = value;} } }
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterUpgradeProfile.cs b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterUpgradeProfile.cs
index 31194da71143..759419559994 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterUpgradeProfile.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/ManagedClusterUpgradeProfile.cs
@@ -41,7 +41,7 @@ public partial class ManagedClusterUpgradeProfile :
public string Id { get => this._id; }
/// Internal Acessors for ControlPlaneProfile
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfileInternal.ControlPlaneProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfileInternal.ControlPlaneProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile = value ?? null /* model class */; }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfileInternal.Id { get => this._id; set { {_id = value;} } }
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/OperationValue.cs b/generated/Aks/Aks.Autorest/generated/api/Models/OperationValue.cs
index 24ececc36993..2679c7bda59e 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/OperationValue.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/OperationValue.cs
@@ -40,16 +40,16 @@ public partial class OperationValue :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplay Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.OperationValueDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOperationValueInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/PrivateEndpointConnection.cs b/generated/Aks/Aks.Autorest/generated/api/Models/PrivateEndpointConnection.cs
index c03fb5c21eae..8dc969c8cf0e 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/PrivateEndpointConnection.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/PrivateEndpointConnection.cs
@@ -27,16 +27,16 @@ public partial class PrivateEndpointConnection :
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPrivateEndpointConnectionInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/Resource.cs b/generated/Aks/Aks.Autorest/generated/api/Models/Resource.cs
index 901268b0cb6e..0593d7b5d030 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/Resource.cs
@@ -34,22 +34,22 @@ public partial class Resource :
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/RunCommandResult.cs b/generated/Aks/Aks.Autorest/generated/api/Models/RunCommandResult.cs
index c0fc92da9e23..18d90824db9e 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/RunCommandResult.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/RunCommandResult.cs
@@ -33,28 +33,28 @@ public partial class RunCommandResult :
public string Log { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Log; }
/// Internal Acessors for ExitCode
- int? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.ExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ExitCode = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.ExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ExitCode = value ?? default(int); }
/// Internal Acessors for FinishedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.FinishedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).FinishedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).FinishedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.FinishedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).FinishedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).FinishedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.Id { get => this._id; set { {_id = value;} } }
/// Internal Acessors for Log
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.Log { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Log; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Log = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.Log { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Log; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Log = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultProperties Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.CommandResultProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Reason
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.Reason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Reason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Reason = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.Reason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Reason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).Reason = value ?? null; }
/// Internal Acessors for StartedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).StartedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResultInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultPropertiesInternal)Property).StartedAt = value ?? default(global::System.DateTime); }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICommandResultProperties _property;
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/Snapshot.cs b/generated/Aks/Aks.Autorest/generated/api/Models/Snapshot.cs
index 8893b060df41..940b712bf60a 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/Snapshot.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/Snapshot.cs
@@ -41,58 +41,58 @@ public partial class Snapshot :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Internal Acessors for CreationData
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICreationData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.CreationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).CreationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).CreationData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ICreationData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.CreationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).CreationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).CreationData = value ?? null /* model class */; }
/// Internal Acessors for EnableFips
- bool? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.EnableFips { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).EnableFips; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).EnableFips = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.EnableFips { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).EnableFips; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).EnableFips = value ?? default(bool); }
/// Internal Acessors for KubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).KubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).KubernetesVersion = value ?? null; }
/// Internal Acessors for NodeImageVersion
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.NodeImageVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).NodeImageVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).NodeImageVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.NodeImageVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).NodeImageVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).NodeImageVersion = value ?? null; }
/// Internal Acessors for OSSku
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSSku = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSSku = value ?? null; }
/// Internal Acessors for OSType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.OSType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.OSType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).OSType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotProperties Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.SnapshotProperties()); set { {_property = value;} } }
/// Internal Acessors for VMSize
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.VMSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).VMSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).VMSize = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotInternal.VMSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).VMSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISnapshotPropertiesInternal)Property).VMSize = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Aks.PropertyOrigin.Inherited)]
diff --git a/generated/Aks/Aks.Autorest/generated/api/Models/TrackedResource.cs b/generated/Aks/Aks.Autorest/generated/api/Models/TrackedResource.cs
index 35454d03a505..83101966fdf7 100644
--- a/generated/Aks/Aks.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Aks/Aks.Autorest/generated/api/Models/TrackedResource.cs
@@ -34,34 +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.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Aks.PropertyOrigin.Inherited)]
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_Abort.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_Abort.cs
index 533891ab5517..9afc5ba3ae0f 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_Abort.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_Abort.cs
@@ -224,6 +224,16 @@ public partial class InvokeAzAksAbortAgentPoolLatestOperation_Abort : global::Sy
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -487,7 +497,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.AgentPoolsAbortLatestOperation(SubscriptionId, ResourceGroupName, ResourceName, AgentPoolName, onNoContent, onDefault, this, Pipeline);
+ await this.Client.AgentPoolsAbortLatestOperation(SubscriptionId, ResourceGroupName, ResourceName, AgentPoolName, onNoContent, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.UndeclaredResponseException urexception)
@@ -591,5 +601,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentity.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentity.cs
index 1a921c322961..f36c1eebe5e2 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentity.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentity.cs
@@ -171,6 +171,16 @@ public partial class InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentity :
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -434,7 +444,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.AgentPoolsAbortLatestOperationViaIdentity(InputObject.Id, onNoContent, onDefault, this, Pipeline);
+ await this.Client.AgentPoolsAbortLatestOperationViaIdentity(InputObject.Id, onNoContent, onOk, onDefault, this, Pipeline);
}
else
{
@@ -455,7 +465,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AgentPoolName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.AgentPoolsAbortLatestOperation(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, InputObject.AgentPoolName ?? null, onNoContent, onDefault, this, Pipeline);
+ await this.Client.AgentPoolsAbortLatestOperation(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, InputObject.AgentPoolName ?? null, onNoContent, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -560,5 +570,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentityManagedcluster.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentityManagedcluster.cs
index 435a02ff4594..48d81bc05545 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentityManagedcluster.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentityManagedcluster.cs
@@ -185,6 +185,16 @@ public partial class InvokeAzAksAbortAgentPoolLatestOperation_AbortViaIdentityMa
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -451,7 +461,7 @@ protected override void ProcessRecord()
if (ManagedclusterInputObject?.Id != null)
{
this.ManagedclusterInputObject.Id += $"/agentPools/{(global::System.Uri.EscapeDataString(this.AgentPoolName.ToString()))}";
- await this.Client.AgentPoolsAbortLatestOperationViaIdentity(ManagedclusterInputObject.Id, onNoContent, onDefault, this, Pipeline);
+ await this.Client.AgentPoolsAbortLatestOperationViaIdentity(ManagedclusterInputObject.Id, onNoContent, onOk, onDefault, this, Pipeline);
}
else
{
@@ -468,7 +478,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("ManagedclusterInputObject has null value for ManagedclusterInputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, ManagedclusterInputObject) );
}
- await this.Client.AgentPoolsAbortLatestOperation(ManagedclusterInputObject.SubscriptionId ?? null, ManagedclusterInputObject.ResourceGroupName ?? null, ManagedclusterInputObject.ResourceName ?? null, AgentPoolName, onNoContent, onDefault, this, Pipeline);
+ await this.Client.AgentPoolsAbortLatestOperation(ManagedclusterInputObject.SubscriptionId ?? null, ManagedclusterInputObject.ResourceGroupName ?? null, ManagedclusterInputObject.ResourceName ?? null, AgentPoolName, onNoContent, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -573,5 +583,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_Abort.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_Abort.cs
index 99c597c4dfa1..90ccc39e61bf 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_Abort.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_Abort.cs
@@ -210,6 +210,16 @@ public partial class InvokeAzAksAbortManagedClusterLatestOperation_Abort : globa
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -472,7 +482,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.ManagedClustersAbortLatestOperation(SubscriptionId, ResourceGroupName, ResourceName, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersAbortLatestOperation(SubscriptionId, ResourceGroupName, ResourceName, onNoContent, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.UndeclaredResponseException urexception)
@@ -576,5 +586,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_AbortViaIdentity.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_AbortViaIdentity.cs
index 4c5129314828..895c414a8072 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_AbortViaIdentity.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksAbortManagedClusterLatestOperation_AbortViaIdentity.cs
@@ -171,6 +171,16 @@ public partial class InvokeAzAksAbortManagedClusterLatestOperation_AbortViaIdent
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -435,7 +445,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.ManagedClustersAbortLatestOperationViaIdentity(InputObject.Id, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersAbortLatestOperationViaIdentity(InputObject.Id, onNoContent, onOk, onDefault, this, Pipeline);
}
else
{
@@ -452,7 +462,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.ManagedClustersAbortLatestOperation(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersAbortLatestOperation(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -557,5 +567,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_Rotate.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_Rotate.cs
index 3cb5cb2be477..b51aea19d253 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_Rotate.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_Rotate.cs
@@ -206,6 +206,16 @@ public partial class InvokeAzAksRotateManagedClusterServiceAccountSigningKey_Rot
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -471,7 +481,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.ManagedClustersRotateServiceAccountSigningKeys(SubscriptionId, ResourceGroupName, ResourceName, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersRotateServiceAccountSigningKeys(SubscriptionId, ResourceGroupName, ResourceName, onNoContent, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.UndeclaredResponseException urexception)
@@ -575,5 +585,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_RotateViaIdentity.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_RotateViaIdentity.cs
index 23ecec596ce7..8a78db58acc9 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_RotateViaIdentity.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/InvokeAzAksRotateManagedClusterServiceAccountSigningKey_RotateViaIdentity.cs
@@ -167,6 +167,16 @@ public partial class InvokeAzAksRotateManagedClusterServiceAccountSigningKey_Rot
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -431,7 +441,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.ManagedClustersRotateServiceAccountSigningKeysViaIdentity(InputObject.Id, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersRotateServiceAccountSigningKeysViaIdentity(InputObject.Id, onNoContent, onOk, onDefault, this, Pipeline);
}
else
{
@@ -448,7 +458,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.ManagedClustersRotateServiceAccountSigningKeys(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersRotateServiceAccountSigningKeys(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -553,5 +563,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs
index 354b5cd130aa..5b2633c535d5 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs
@@ -209,6 +209,16 @@ public partial class StartAzAksCluster_Start : global::System.Management.Automat
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -463,7 +473,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.ManagedClustersStart(SubscriptionId, ResourceGroupName, Name, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersStart(SubscriptionId, ResourceGroupName, Name, onNoContent, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.UndeclaredResponseException urexception)
@@ -575,5 +585,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs
index 6105c15f0f0c..5e2c48e3ebfb 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs
@@ -169,6 +169,16 @@ public partial class StartAzAksCluster_StartViaIdentity : global::System.Managem
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -422,7 +432,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.ManagedClustersStartViaIdentity(InputObject.Id, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersStartViaIdentity(InputObject.Id, onNoContent, onOk, onDefault, this, Pipeline);
}
else
{
@@ -439,7 +449,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.ManagedClustersStart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersStart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -552,5 +562,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs
index cff239db7d81..97a4f9327ac5 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs
@@ -212,6 +212,16 @@ public partial class StopAzAksCluster_Stop : global::System.Management.Automatio
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -466,7 +476,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.ManagedClustersStop(SubscriptionId, ResourceGroupName, Name, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersStop(SubscriptionId, ResourceGroupName, Name, onNoContent, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.UndeclaredResponseException urexception)
@@ -578,5 +588,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs b/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs
index 1374efcae4a8..9e4d79d98878 100644
--- a/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs
+++ b/generated/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs
@@ -172,6 +172,16 @@ public partial class StopAzAksCluster_StopViaIdentity : global::System.Managemen
partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -425,7 +435,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.ManagedClustersStopViaIdentity(InputObject.Id, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersStopViaIdentity(InputObject.Id, onNoContent, onOk, onDefault, this, Pipeline);
}
else
{
@@ -442,7 +452,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.ManagedClustersStop(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onDefault, this, Pipeline);
+ await this.Client.ManagedClustersStop(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, onNoContent, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -555,5 +565,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 3a3933e0985b..6ceaab48df02 100644
--- a/generated/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Aks/Aks.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/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index fac55ad55d1d..8912b4395a0e 100644
--- a/generated/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs b/generated/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs
index f10432970462..a65864cc6692 100644
--- a/generated/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Aks.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.Aks" : @"";
+
//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/Aks/Aks.Autorest/generated/runtime/Properties/Resources.resx b/generated/Aks/Aks.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Aks/Aks.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Aks/Aks.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/AksArc/AksArc.Autorest/exports/Get-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcCluster.ps1
index 2ad39603bf74..335a9a113204 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcCluster.ps1
@@ -108,6 +108,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +138,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcCluster';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterAdminKubeconfig.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterAdminKubeconfig.ps1
index 9cd50f8db1a1..441bbc5cb89e 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterAdminKubeconfig.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterAdminKubeconfig.ps1
@@ -119,6 +119,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -140,8 +149,6 @@ begin {
List = 'Az.AksArc.custom\Get-AzAksArcClusterAdminKubeconfig';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -155,6 +162,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUpgrade.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUpgrade.ps1
index d72b0577c655..1ad07455eeaa 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUpgrade.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUpgrade.ps1
@@ -99,6 +99,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -120,8 +129,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcClusterUpgrade';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -135,6 +142,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUserKubeconfig.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUserKubeconfig.ps1
index 1dcf20b1795a..1648b80808c6 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUserKubeconfig.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcClusterUserKubeconfig.ps1
@@ -119,6 +119,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -140,8 +149,6 @@ begin {
List = 'Az.AksArc.custom\Get-AzAksArcClusterUserKubeconfig';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -155,6 +162,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcKubernetesVersion.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcKubernetesVersion.ps1
index bb86062e6b78..7f621d4f4fc7 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcKubernetesVersion.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcKubernetesVersion.ps1
@@ -108,6 +108,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +138,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcKubernetesVersion';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcLog.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcLog.ps1
index e5aaf49bde80..63a894bbab1d 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcLog.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcLog.ps1
@@ -106,6 +106,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -133,6 +142,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcNodepool.ps1
index ec88e9dc03a2..099a42241540 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcNodepool.ps1
@@ -128,6 +128,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -151,8 +160,6 @@ begin {
GetViaIdentity = 'Az.AksArc.custom\Get-AzAksArcNodepool';
}
if (('List', 'Get', 'GetViaIdentity') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -166,6 +173,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVMSku.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVMSku.ps1
index 105755b9ff75..6f61cb2a3378 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVMSku.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVMSku.ps1
@@ -108,6 +108,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +138,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcVMSku';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVirtualNetwork.ps1 b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVirtualNetwork.ps1
index 6a7dc519ee77..0df820fd8078 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVirtualNetwork.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Get-AzAksArcVirtualNetwork.ps1
@@ -136,6 +136,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -160,8 +169,6 @@ begin {
RetrieveViaIdentity = 'Az.AksArc.private\Get-AzAksArcVirtualNetwork_RetrieveViaIdentity';
}
if (('List', 'List1', 'Retrieve') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -175,6 +182,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Invoke-AzAksArcClusterUpgrade.ps1 b/generated/AksArc/AksArc.Autorest/exports/Invoke-AzAksArcClusterUpgrade.ps1
index 792836bc2456..96fe2bf18fc6 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Invoke-AzAksArcClusterUpgrade.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Invoke-AzAksArcClusterUpgrade.ps1
@@ -119,6 +119,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -141,8 +150,6 @@ begin {
Upgrade = 'Az.AksArc.custom\Invoke-AzAksArcClusterUpgrade';
}
if (('UpdateExpanded', 'Upgrade') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -156,6 +163,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcCluster.ps1
index 5d8c586eeddc..b18a19dc72da 100644
--- a/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcCluster.ps1
@@ -416,6 +416,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -440,8 +449,6 @@ begin {
CreateViaJsonString = 'Az.AksArc.custom\New-AzAksArcCluster';
}
if (('CreateExpanded', 'AutoScaling', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -455,6 +462,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcNodepool.ps1
index 36762a662e19..716433f36f33 100644
--- a/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcNodepool.ps1
@@ -231,6 +231,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -256,8 +265,6 @@ begin {
CreateViaJsonString = 'Az.AksArc.custom\New-AzAksArcNodepool';
}
if (('CreateExpanded', 'CreateViaIdentityExpanded', 'AutoScaling', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -271,6 +278,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcVirtualNetwork.ps1 b/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcVirtualNetwork.ps1
index 4157d5ad9d45..6f28e931dc72 100644
--- a/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcVirtualNetwork.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/New-AzAksArcVirtualNetwork.ps1
@@ -170,6 +170,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -193,8 +202,6 @@ begin {
CreateViaJsonString = 'Az.AksArc.custom\New-AzAksArcVirtualNetwork';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -208,6 +215,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/AksArc/AksArc.Autorest/exports/ProxyCmdletDefinitions.ps1
index ab85c0eb8d3c..96f8ce679c66 100644
--- a/generated/AksArc/AksArc.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -136,6 +136,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -160,8 +169,6 @@ begin {
RetrieveViaIdentity = 'Az.AksArc.private\Get-AzAksArcVirtualNetwork_RetrieveViaIdentity';
}
if (('List', 'List1', 'Retrieve') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -175,6 +182,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -353,6 +363,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -375,8 +394,6 @@ begin {
DeleteViaIdentity = 'Az.AksArc.private\Remove-AzAksArcVirtualNetwork_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -390,6 +407,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -527,6 +547,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -548,8 +577,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcCluster';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -563,6 +590,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -711,6 +741,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -732,8 +771,6 @@ begin {
List = 'Az.AksArc.custom\Get-AzAksArcClusterAdminKubeconfig';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -747,6 +784,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -875,6 +915,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -896,8 +945,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcClusterUpgrade';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -911,6 +958,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1059,6 +1109,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1080,8 +1139,6 @@ begin {
List = 'Az.AksArc.custom\Get-AzAksArcClusterUserKubeconfig';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1095,6 +1152,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1232,6 +1292,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1253,8 +1322,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcKubernetesVersion';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1268,6 +1335,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1403,6 +1473,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1430,6 +1509,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1587,6 +1669,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1610,8 +1701,6 @@ begin {
GetViaIdentity = 'Az.AksArc.custom\Get-AzAksArcNodepool';
}
if (('List', 'Get', 'GetViaIdentity') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1625,6 +1714,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1762,6 +1854,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1783,8 +1884,6 @@ begin {
Get = 'Az.AksArc.custom\Get-AzAksArcVMSku';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1798,6 +1897,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1946,6 +2048,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1968,8 +2079,6 @@ begin {
Upgrade = 'Az.AksArc.custom\Invoke-AzAksArcClusterUpgrade';
}
if (('UpdateExpanded', 'Upgrade') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1983,6 +2092,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2428,6 +2540,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2452,8 +2573,6 @@ begin {
CreateViaJsonString = 'Az.AksArc.custom\New-AzAksArcCluster';
}
if (('CreateExpanded', 'AutoScaling', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2467,6 +2586,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2727,6 +2849,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2752,8 +2883,6 @@ begin {
CreateViaJsonString = 'Az.AksArc.custom\New-AzAksArcNodepool';
}
if (('CreateExpanded', 'CreateViaIdentityExpanded', 'AutoScaling', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2767,6 +2896,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2966,6 +3098,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2989,8 +3130,6 @@ begin {
CreateViaJsonString = 'Az.AksArc.custom\New-AzAksArcVirtualNetwork';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3004,6 +3143,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3150,6 +3292,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3171,8 +3322,6 @@ begin {
Delete = 'Az.AksArc.custom\Remove-AzAksArcCluster';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3186,6 +3335,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3359,6 +3511,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3381,8 +3542,6 @@ begin {
DeleteViaIdentity = 'Az.AksArc.custom\Remove-AzAksArcNodepool';
}
if (('Delete', 'DeleteViaIdentity') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3396,6 +3555,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3728,6 +3890,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3750,8 +3921,6 @@ begin {
AutoScaling = 'Az.AksArc.custom\Update-AzAksArcCluster';
}
if (('UpdateExpanded', 'AutoScaling') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3765,6 +3934,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3990,6 +4162,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4013,8 +4194,6 @@ begin {
AutoScaling = 'Az.AksArc.custom\Update-AzAksArcNodepool';
}
if (('UpdateExpanded', 'CreateViaIdentityExpanded', 'AutoScaling') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4028,6 +4207,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcCluster.ps1
index fff8681882af..3fc66f86e424 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcCluster.ps1
@@ -117,6 +117,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -138,8 +147,6 @@ begin {
Delete = 'Az.AksArc.custom\Remove-AzAksArcCluster';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -153,6 +160,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcNodepool.ps1
index 9a81fbc213b7..09d0b1716a24 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcNodepool.ps1
@@ -144,6 +144,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -166,8 +175,6 @@ begin {
DeleteViaIdentity = 'Az.AksArc.custom\Remove-AzAksArcNodepool';
}
if (('Delete', 'DeleteViaIdentity') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -181,6 +188,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcVirtualNetwork.ps1 b/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcVirtualNetwork.ps1
index f75f7cfd627f..a7de7254971a 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcVirtualNetwork.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Remove-AzAksArcVirtualNetwork.ps1
@@ -149,6 +149,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -171,8 +180,6 @@ begin {
DeleteViaIdentity = 'Az.AksArc.private\Remove-AzAksArcVirtualNetwork_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -186,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcCluster.ps1
index ae8633d2fea4..42ef6fb95f44 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcCluster.ps1
@@ -303,6 +303,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -325,8 +334,6 @@ begin {
AutoScaling = 'Az.AksArc.custom\Update-AzAksArcCluster';
}
if (('UpdateExpanded', 'AutoScaling') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -340,6 +347,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcNodepool.ps1
index eab6b4f3e2f6..a5e4c46dfca6 100644
--- a/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/exports/Update-AzAksArcNodepool.ps1
@@ -196,6 +196,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -219,8 +228,6 @@ begin {
AutoScaling = 'Az.AksArc.custom\Update-AzAksArcNodepool';
}
if (('UpdateExpanded', 'CreateViaIdentityExpanded', 'AutoScaling') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -234,6 +241,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/AksArc.cs b/generated/AksArc/AksArc.Autorest/generated/api/AksArc.cs
index bce4ee841b77..b033822e4d3e 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/AksArc.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/AksArc.cs
@@ -321,13 +321,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -475,13 +475,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -737,13 +737,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -1609,13 +1609,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -1864,13 +1864,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -2120,13 +2120,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -3624,13 +3624,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -3778,13 +3778,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -5092,13 +5092,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -5248,13 +5248,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -5501,13 +5501,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -6489,13 +6489,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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 _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -6646,13 +6646,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -6985,13 +6985,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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 _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -7142,13 +7142,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -7856,13 +7856,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -8010,13 +8010,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -9068,13 +9068,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -9222,13 +9222,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -9493,13 +9493,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -10910,13 +10910,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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");
@@ -11064,13 +11064,13 @@ public partial class AksArc
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.AksArc.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AksArc.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/AksArc/AksArc.Autorest/generated/api/Models/AgentPool.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPool.cs
index 13aa217da597..26d61e30cc4b 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPool.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPool.cs
@@ -65,31 +65,49 @@ public partial class AgentPool :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for KubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)Property).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)Property).KubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)Property).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)Property).KubernetesVersion = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.AgentPoolProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1 Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1 Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).Status = value ?? null /* model class */; }
/// Internal Acessors for StatusCurrentState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).StatusCurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).StatusCurrentState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).StatusCurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)Property).StatusCurrentState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The minimum number of nodes for auto-scaling
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
@@ -150,31 +168,31 @@ public partial class AgentPool :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolTags _tag;
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProperties.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProperties.cs
index 7f6b046d284a..3a099805a800 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProperties.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProperties.cs
@@ -53,16 +53,16 @@ public partial class AgentPoolProperties :
public int? MaxPod { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProfileInternal)__agentPoolProfile).MaxPod; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProfileInternal)__agentPoolProfile).MaxPod = value ?? default(int); }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1 Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1 Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).Status = value ?? null /* model class */; }
/// Internal Acessors for StatusCurrentState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).StatusCurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).StatusCurrentState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).StatusCurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal)__agentPoolProvisioningStatus).StatusCurrentState = value ?? null; }
/// Internal Acessors for KubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion = value ?? null; }
/// The minimum number of nodes for auto-scaling
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProvisioningStatus.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProvisioningStatus.cs
index 59e5d07cf51d..98c965aea26f 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProvisioningStatus.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/AgentPoolProvisioningStatus.cs
@@ -20,7 +20,7 @@ public partial class AgentPoolProvisioningStatus :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1 Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.AgentPoolProvisioningStatus1()); set { {_status = value;} } }
/// Internal Acessors for StatusCurrentState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1Internal)Status).CurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1Internal)Status).CurrentState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatusInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1Internal)Status).CurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProvisioningStatus1Internal)Status).CurrentState = value ?? null; }
/// Backing field for property.
private string _provisioningState;
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/ErrorResponse.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/ErrorResponse.cs
index 9e4f8ba9fc02..27754614b8ef 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/HybridIdentityMetadata.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/HybridIdentityMetadata.cs
index f71c38ae4f00..bbcfc10a7161 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/HybridIdentityMetadata.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/HybridIdentityMetadata.cs
@@ -28,19 +28,37 @@ public partial class HybridIdentityMetadata :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.HybridIdentityMetadataProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -75,31 +93,31 @@ public partial class HybridIdentityMetadata :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/KubernetesVersionProfile.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/KubernetesVersionProfile.cs
index a9a077a6cc16..b50ec70f1ccc 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/KubernetesVersionProfile.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/KubernetesVersionProfile.cs
@@ -46,19 +46,40 @@ public partial class KubernetesVersionProfile :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfileProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.KubernetesVersionProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
+
+ /// Internal Acessors for Value
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfileInternal.Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).Value = value ?? null /* arrayOf */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -82,31 +103,31 @@ public partial class KubernetesVersionProfile :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -116,7 +137,7 @@ public partial class KubernetesVersionProfile :
/// List of supported Kubernetes versions
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).Value = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IKubernetesVersionProfilePropertiesInternal)Property).Value; }
/// Creates an new instance.
public KubernetesVersionProfile()
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/LinuxProfile.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/LinuxProfile.cs
index 83d2a9fa8d34..e253170ba593 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/LinuxProfile.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/LinuxProfile.cs
@@ -24,7 +24,7 @@ public partial class LinuxProfile :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfileProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfileInternal.LinuxProfile1 { get => (this._linuxProfile1 = this._linuxProfile1 ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.LinuxProfileProperties()); set { {_linuxProfile1 = value;} } }
/// Internal Acessors for Ssh
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesSsh Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfileInternal.Ssh { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile1).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile1).Ssh = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesSsh Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfileInternal.Ssh { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile1).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile1).Ssh = value ?? null /* model class */; }
///
/// The list of SSH public keys used to authenticate with VMs. A maximum of 1 key may be specified.
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/ListCredentialResponse.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/ListCredentialResponse.cs
index 409414032036..d94f1f879463 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/ListCredentialResponse.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/ListCredentialResponse.cs
@@ -43,7 +43,7 @@ public partial class ListCredentialResponse :
string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponseInternal.Id { get => this._id; set { {_id = value;} } }
/// Internal Acessors for Kubeconfig
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponseInternal.Kubeconfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponsePropertiesInternal)Property).Kubeconfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponsePropertiesInternal)Property).Kubeconfig = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponseInternal.Kubeconfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponsePropertiesInternal)Property).Kubeconfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponsePropertiesInternal)Property).Kubeconfig = value ?? null /* arrayOf */; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IListCredentialResponseInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/NamedAgentPoolProfile.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/NamedAgentPoolProfile.cs
index 6664eff57742..056f61c26a9b 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/NamedAgentPoolProfile.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/NamedAgentPoolProfile.cs
@@ -52,7 +52,7 @@ public partial class NamedAgentPoolProfile :
public int? MaxPod { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProfileInternal)__agentPoolProfile).MaxPod; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProfileInternal)__agentPoolProfile).MaxPod = value ?? default(int); }
/// Internal Acessors for KubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolUpdateProfileInternal)__agentPoolUpdateProfile).KubernetesVersion = value ?? null; }
/// The minimum number of nodes for auto-scaling
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/Operation.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/Operation.cs
index db119d0191f0..ccf32fc39b36 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/Operation.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedCluster.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedCluster.cs
index cacfff53f3ec..9ed59d3a48a4 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedCluster.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedCluster.cs
@@ -168,73 +168,97 @@ public partial class ProvisionedCluster :
public int? LoadBalancerProfileCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LoadBalancerProfileCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LoadBalancerProfileCount = value ?? default(int); }
/// Internal Acessors for AutoScalerProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesAutoScalerProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.AutoScalerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).AutoScalerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).AutoScalerProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesAutoScalerProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.AutoScalerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).AutoScalerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).AutoScalerProfile = value ?? null /* model class */; }
/// Internal Acessors for CloudProviderProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.CloudProviderProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.CloudProviderProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfile = value ?? null /* model class */; }
/// Internal Acessors for CloudProviderProfileInfraNetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInfraNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.CloudProviderProfileInfraNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfileInfraNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfileInfraNetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInfraNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.CloudProviderProfileInfraNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfileInfraNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).CloudProviderProfileInfraNetworkProfile = value ?? null /* model class */; }
/// Internal Acessors for ClusterVMAccessProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IClusterVMAccessProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ClusterVMAccessProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ClusterVMAccessProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ClusterVMAccessProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IClusterVMAccessProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ClusterVMAccessProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ClusterVMAccessProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ClusterVMAccessProfile = value ?? null /* model class */; }
/// Internal Acessors for ControlPlane
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ControlPlane { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlane; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlane = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ControlPlane { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlane; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlane = value ?? null /* model class */; }
/// Internal Acessors for ControlPlaneEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileControlPlaneEndpoint Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ControlPlaneEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlaneEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlaneEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileControlPlaneEndpoint Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ControlPlaneEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlaneEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ControlPlaneEndpoint = value ?? null /* model class */; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for LicenseProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterLicenseProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.LicenseProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LicenseProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LicenseProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterLicenseProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.LicenseProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LicenseProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LicenseProfile = value ?? null /* model class */; }
/// Internal Acessors for LinuxProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfileProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.LinuxProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfileProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.LinuxProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfile = value ?? null /* model class */; }
/// Internal Acessors for LinuxProfileSsh
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesSsh Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfileSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfileSsh = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesSsh Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfileSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).LinuxProfileSsh = value ?? null /* model class */; }
/// Internal Acessors for NetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfile = value ?? null /* model class */; }
/// Internal Acessors for NetworkProfileLoadBalancerProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileLoadBalancerProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.NetworkProfileLoadBalancerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfileLoadBalancerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfileLoadBalancerProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileLoadBalancerProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.NetworkProfileLoadBalancerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfileLoadBalancerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).NetworkProfileLoadBalancerProfile = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ProvisionedClusterProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).Status = value ?? null /* model class */; }
+
+ /// Internal Acessors for StatusControlPlaneStatus
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StatusControlPlaneStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusControlPlaneStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusControlPlaneStatus = value ?? null /* arrayOf */; }
/// Internal Acessors for StatusCurrentState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusCurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusCurrentState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusCurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusCurrentState = value ?? null; }
+
+ /// Internal Acessors for StatusErrorMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusErrorMessage = value ?? null; }
/// Internal Acessors for StorageProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfile = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileNfsCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileNfsCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StorageProfileNfsCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileNfsCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileNfsCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileNfsCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StorageProfileNfsCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileNfsCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileNfsCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileSmbCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileSmbCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StorageProfileSmbCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileSmbCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileSmbCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileSmbCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterInternal.StorageProfileSmbCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileSmbCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StorageProfileSmbCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -281,7 +305,7 @@ public partial class ProvisionedCluster :
/// The detailed status of the provisioned cluster components including addons.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List StatusControlPlaneStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusControlPlaneStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusControlPlaneStatus = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List StatusControlPlaneStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusControlPlaneStatus; }
/// The current state of the provisioned cluster.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
@@ -289,37 +313,37 @@ public partial class ProvisionedCluster :
/// Error messages during a provisioned cluster operation or steady state.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusErrorMessage = value ?? null; }
+ public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal)Property).StatusErrorMessage; }
///
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterProperties.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterProperties.cs
index fe2cd5f19a12..b5effba53c55 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterProperties.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterProperties.cs
@@ -200,7 +200,7 @@ public partial class ProvisionedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.CloudProviderProfile { get => (this._cloudProviderProfile = this._cloudProviderProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.CloudProviderProfile()); set { {_cloudProviderProfile = value;} } }
/// Internal Acessors for CloudProviderProfileInfraNetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInfraNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.CloudProviderProfileInfraNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInternal)CloudProviderProfile).InfraNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInternal)CloudProviderProfile).InfraNetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInfraNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.CloudProviderProfileInfraNetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInternal)CloudProviderProfile).InfraNetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ICloudProviderProfileInternal)CloudProviderProfile).InfraNetworkProfile = value ?? null /* model class */; }
/// Internal Acessors for ClusterVMAccessProfile
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IClusterVMAccessProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.ClusterVMAccessProfile { get => (this._clusterVMAccessProfile = this._clusterVMAccessProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ClusterVMAccessProfile()); set { {_clusterVMAccessProfile = value;} } }
@@ -209,7 +209,7 @@ public partial class ProvisionedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.ControlPlane { get => (this._controlPlane = this._controlPlane ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ControlPlaneProfile()); set { {_controlPlane = value;} } }
/// Internal Acessors for ControlPlaneEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileControlPlaneEndpoint Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.ControlPlaneEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileInternal)ControlPlane).ControlPlaneEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileInternal)ControlPlane).ControlPlaneEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileControlPlaneEndpoint Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.ControlPlaneEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileInternal)ControlPlane).ControlPlaneEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IControlPlaneProfileInternal)ControlPlane).ControlPlaneEndpoint = value ?? null /* model class */; }
/// Internal Acessors for LicenseProfile
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterLicenseProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.LicenseProfile { get => (this._licenseProfile = this._licenseProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ProvisionedClusterLicenseProfile()); set { {_licenseProfile = value;} } }
@@ -218,13 +218,13 @@ public partial class ProvisionedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfileProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.LinuxProfile { get => (this._linuxProfile = this._linuxProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.LinuxProfileProperties()); set { {_linuxProfile = value;} } }
/// Internal Acessors for LinuxProfileSsh
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesSsh Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile).Ssh = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesSsh Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.LinuxProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ILinuxProfilePropertiesInternal)LinuxProfile).Ssh = value ?? null /* model class */; }
/// Internal Acessors for NetworkProfile
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.NetworkProfile()); set { {_networkProfile = value;} } }
/// Internal Acessors for NetworkProfileLoadBalancerProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileLoadBalancerProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.NetworkProfileLoadBalancerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileInternal)NetworkProfile).LoadBalancerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileInternal)NetworkProfile).LoadBalancerProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileLoadBalancerProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.NetworkProfileLoadBalancerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileInternal)NetworkProfile).LoadBalancerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfileInternal)NetworkProfile).LoadBalancerProfile = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -232,17 +232,23 @@ public partial class ProvisionedClusterProperties :
/// Internal Acessors for Status
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ProvisionedClusterPropertiesStatus()); set { {_status = value;} } }
+ /// Internal Acessors for StatusControlPlaneStatus
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StatusControlPlaneStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ControlPlaneStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ControlPlaneStatus = value ?? null /* arrayOf */; }
+
/// Internal Acessors for StatusCurrentState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).CurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).CurrentState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StatusCurrentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).CurrentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).CurrentState = value ?? null; }
+
+ /// Internal Acessors for StatusErrorMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ErrorMessage = value ?? null; }
/// Internal Acessors for StorageProfile
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.StorageProfile()); set { {_storageProfile = value;} } }
/// Internal Acessors for StorageProfileNfsCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileNfsCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StorageProfileNfsCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).NfsCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).NfsCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileNfsCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StorageProfileNfsCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).NfsCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).NfsCsiDriver = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileSmbCsiDriver
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileSmbCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StorageProfileSmbCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).SmbCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).SmbCsiDriver = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileSmbCsiDriver Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesInternal.StorageProfileSmbCsiDriver { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).SmbCsiDriver; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfileInternal)StorageProfile).SmbCsiDriver = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INetworkProfile _networkProfile;
@@ -291,7 +297,7 @@ public partial class ProvisionedClusterProperties :
/// The detailed status of the provisioned cluster components including addons.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List StatusControlPlaneStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ControlPlaneStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ControlPlaneStatus = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List StatusControlPlaneStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ControlPlaneStatus; }
/// The current state of the provisioned cluster.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
@@ -299,7 +305,7 @@ public partial class ProvisionedClusterProperties :
/// Error messages during a provisioned cluster operation or steady state.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ErrorMessage = value ?? null; }
+ public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPropertiesStatusInternal)Status).ErrorMessage; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IStorageProfile _storageProfile;
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfile.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfile.cs
index bab60f4b7e41..02ac406bf330 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfile.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfile.cs
@@ -37,31 +37,49 @@ public partial class ProvisionedClusterUpgradeProfile :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for ControlPlaneProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ControlPlaneProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ControlPlaneProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfile = value ?? null /* model class */; }
/// Internal Acessors for ControlPlaneProfileKubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ControlPlaneProfileKubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileKubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileKubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ControlPlaneProfileKubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileKubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileKubernetesVersion = value ?? null; }
/// Internal Acessors for ControlPlaneProfileOSType
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ControlPlaneProfileOSType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileOSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileOSType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ControlPlaneProfileOSType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileOSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ControlPlaneProfileOSType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ProvisionedClusterUpgradeProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -86,31 +104,31 @@ public partial class ProvisionedClusterUpgradeProfile :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfileProperties.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfileProperties.cs
index 8597437a4558..280e347d67a3 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfileProperties.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProvisionedClusterUpgradeProfileProperties.cs
@@ -36,10 +36,10 @@ public partial class ProvisionedClusterUpgradeProfileProperties :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal.ControlPlaneProfile { get => (this._controlPlaneProfile = this._controlPlaneProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ProvisionedClusterPoolUpgradeProfile()); set { {_controlPlaneProfile = value;} } }
/// Internal Acessors for ControlPlaneProfileKubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal.ControlPlaneProfileKubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).KubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal.ControlPlaneProfileKubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).KubernetesVersion = value ?? null; }
/// Internal Acessors for ControlPlaneProfileOSType
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal.ControlPlaneProfileOSType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).OSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).OSType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal.ControlPlaneProfileOSType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).OSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterPoolUpgradeProfileInternal)ControlPlaneProfile).OSType = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IProvisionedClusterUpgradeProfilePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProxyResource.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProxyResource.cs
index 5734f7689096..03414ca50ab0 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,16 +27,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -46,31 +64,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/Resource.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/Resource.cs
index 5c8d38578bf8..c68b361cf33b 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/Resource.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.AksArc.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.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/TrackedResource.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/TrackedResource.cs
index 4fa52d19652a..a2aa336efbc3 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/AksArc/AksArc.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.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/VMSkuProfile.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/VMSkuProfile.cs
index f3aaf0aac8a7..f2ef3a997486 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/VMSkuProfile.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/VMSkuProfile.cs
@@ -40,16 +40,34 @@ public partial class VMSkuProfile :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfileInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
@@ -58,7 +76,10 @@ public partial class VMSkuProfile :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfileProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VMSkuProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
+
+ /// Internal Acessors for Value
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfileInternal.Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).Value = value ?? null /* arrayOf */; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -82,31 +103,31 @@ public partial class VMSkuProfile :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -116,7 +137,7 @@ public partial class VMSkuProfile :
/// List of supported VM SKUs.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).Value = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVMSkuProfilePropertiesInternal)Property).Value; }
/// Creates an new instance.
public VMSkuProfile()
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetwork.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetwork.cs
index 305ff71a4e3d..436ed0f700a1 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetwork.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetwork.cs
@@ -20,7 +20,7 @@ public partial class VirtualNetwork :
/// The error code from the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Code = value ?? null; }
+ public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Code; }
/// List of DNS server IP Addresses associated with the network
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
@@ -69,47 +69,77 @@ public partial class VirtualNetwork :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// The error message from the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Message = value ?? null; }
+ public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Message; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
+
+ /// Internal Acessors for Code
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Code = value ?? null; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VirtualNetworkExtendedLocation()); set { {_extendedLocation = value;} } }
/// Internal Acessors for InfraVnetProfile
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.InfraVnetProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.InfraVnetProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfile = value ?? null /* model class */; }
/// Internal Acessors for InfraVnetProfileHci
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileHci Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.InfraVnetProfileHci { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfileHci; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfileHci = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileHci Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.InfraVnetProfileHci { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfileHci; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).InfraVnetProfileHci = value ?? null /* model class */; }
+
+ /// Internal Acessors for Message
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Message = value ?? null; }
+
+ /// Internal Acessors for OperationStatus
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.OperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatus = value ?? null; }
/// Internal Acessors for OperationStatusError
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusError Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.OperationStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusError Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.OperationStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusError = value ?? null /* model class */; }
+
+ /// Internal Acessors for OperationStatusOperationId
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.OperationStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusOperationId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkProperties Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VirtualNetworkProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).Status = value ?? null /* model class */; }
/// Internal Acessors for StatusOperationStatus
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.StatusOperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).StatusOperationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).StatusOperationStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkInternal.StatusOperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).StatusOperationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).StatusOperationStatus = value ?? null /* model class */; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
@@ -117,11 +147,11 @@ public partial class VirtualNetwork :
/// The status of the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string OperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatus = value ?? null; }
+ public string OperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatus; }
/// The identifier of the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string OperationStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusOperationId = value ?? null; }
+ public string OperationStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal)Property).OperationStatusOperationId; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkProperties _property;
@@ -141,31 +171,31 @@ public partial class VirtualNetwork :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inherited)]
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkProperties.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkProperties.cs
index c907e80c4cc0..9e4a789707f9 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkProperties.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkProperties.cs
@@ -15,7 +15,7 @@ public partial class VirtualNetworkProperties :
/// The error code from the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Code = value ?? null; }
+ public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Code; }
/// Backing field for property.
private System.Collections.Generic.List _dnsServer;
@@ -58,16 +58,28 @@ public partial class VirtualNetworkProperties :
/// The error message from the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Message = value ?? null; }
+ public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Message; }
+
+ /// Internal Acessors for Code
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Code = value ?? null; }
/// Internal Acessors for InfraVnetProfile
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfile Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.InfraVnetProfile { get => (this._infraVnetProfile = this._infraVnetProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VirtualNetworkPropertiesInfraVnetProfile()); set { {_infraVnetProfile = value;} } }
/// Internal Acessors for InfraVnetProfileHci
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileHci Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.InfraVnetProfileHci { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileInternal)InfraVnetProfile).Hci; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileInternal)InfraVnetProfile).Hci = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileHci Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.InfraVnetProfileHci { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileInternal)InfraVnetProfile).Hci; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInfraVnetProfileInternal)InfraVnetProfile).Hci = value ?? null /* model class */; }
+
+ /// Internal Acessors for Message
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).Message = value ?? null; }
+
+ /// Internal Acessors for OperationStatus
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.OperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusStatus = value ?? null; }
/// Internal Acessors for OperationStatusError
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusError Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.OperationStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusError Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.OperationStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusError = value ?? null /* model class */; }
+
+ /// Internal Acessors for OperationStatusOperationId
+ string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.OperationStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusOperationId = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -76,15 +88,15 @@ public partial class VirtualNetworkProperties :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VirtualNetworkPropertiesStatus()); set { {_status = value;} } }
/// Internal Acessors for StatusOperationStatus
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.StatusOperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesInternal.StatusOperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatus = value ?? null /* model class */; }
/// The status of the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string OperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusStatus = value ?? null; }
+ public string OperationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusStatus; }
/// The identifier of the operation.
[Microsoft.Azure.PowerShell.Cmdlets.AksArc.Origin(Microsoft.Azure.PowerShell.Cmdlets.AksArc.PropertyOrigin.Inlined)]
- public string OperationStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusOperationId = value ?? null; }
+ public string OperationStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal)Status).OperationStatusOperationId; }
/// Backing field for property.
private string _provisioningState;
diff --git a/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkPropertiesStatus.cs b/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkPropertiesStatus.cs
index 251653132655..32473883725e 100644
--- a/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkPropertiesStatus.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/api/Models/VirtualNetworkPropertiesStatus.cs
@@ -25,7 +25,7 @@ public partial class VirtualNetworkPropertiesStatus :
Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatus Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal.OperationStatus { get => (this._operationStatus = this._operationStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VirtualNetworkPropertiesStatusOperationStatus()); set { {_operationStatus = value;} } }
/// Internal Acessors for OperationStatusError
- Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusError Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal.OperationStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusInternal)OperationStatus).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusInternal)OperationStatus).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusError Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusInternal.OperationStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusInternal)OperationStatus).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatusInternal)OperationStatus).Error = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetworkPropertiesStatusOperationStatus _operationStatus;
diff --git a/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 846112324eb3..1babbfa3cb5c 100644
--- a/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/AksArc/AksArc.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/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 3d15ceeabafa..d26fc523eb90 100644
--- a/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.AksArc.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.AksArc.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 +316,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.AksArc.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/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 51e156069d7c..ac40855a61b8 100644
--- a/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/AksArc/AksArc.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/AksArc/AksArc.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index d8022bcf6b33..90f63ca63d2d 100644
--- a/generated/AksArc/AksArc.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/AksArc/AksArc.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/AksArc/AksArc.Autorest/generated/runtime/MessageAttribute.cs b/generated/AksArc/AksArc.Autorest/generated/runtime/MessageAttribute.cs
index 93dac4a087f1..2322c3c28554 100644
--- a/generated/AksArc/AksArc.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/AksArc/AksArc.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AksArc.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.AksArc" : @"";
+
//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/AksArc/AksArc.Autorest/generated/runtime/Properties/Resources.resx b/generated/AksArc/AksArc.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/AksArc/AksArc.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/AksArc/AksArc.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/AksArc/AksArc.Autorest/internal/Get-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcCluster.ps1
index 720723f3ea2d..c2e3b34ea392 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcCluster.ps1
@@ -94,12 +94,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcCluster_Get';
List = 'Az.AksArc.private\Get-AzAksArcCluster_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterAdminKubeconfig.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterAdminKubeconfig.ps1
index 647035f6b346..dfb8731d3c5d 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterAdminKubeconfig.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterAdminKubeconfig.ps1
@@ -108,11 +108,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.AksArc.private\Get-AzAksArcClusterAdminKubeconfig_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUpgrade.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUpgrade.ps1
index 25b725033bfb..ce5e8717b13c 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUpgrade.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUpgrade.ps1
@@ -94,11 +94,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcClusterUpgrade_Get';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUserKubeconfig.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUserKubeconfig.ps1
index 4e8e01ebb1d7..339c4e656e60 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUserKubeconfig.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcClusterUserKubeconfig.ps1
@@ -108,11 +108,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.AksArc.private\Get-AzAksArcClusterUserKubeconfig_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcKubernetesVersion.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcKubernetesVersion.ps1
index 0bc8f3e21606..c8cd6fbe4935 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcKubernetesVersion.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcKubernetesVersion.ps1
@@ -94,12 +94,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcKubernetesVersion_Get';
List = 'Az.AksArc.private\Get-AzAksArcKubernetesVersion_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcNodepool.ps1
index 4a8b66418f5f..353ceb8df892 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcNodepool.ps1
@@ -125,6 +125,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcNodepool_Get';
GetViaIdentity = 'Az.AksArc.private\Get-AzAksArcNodepool_GetViaIdentity';
@@ -132,6 +135,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcOperation.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcOperation.ps1
index df8e8a525da2..87d766372c94 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcOperation.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.AksArc.private\Get-AzAksArcOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcVMSku.ps1 b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcVMSku.ps1
index 724737db5d1d..f8082770f2ff 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcVMSku.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Get-AzAksArcVMSku.ps1
@@ -94,12 +94,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcVMSku_Get';
List = 'Az.AksArc.private\Get-AzAksArcVMSku_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcCluster.ps1
index 3dbc66442dcc..55d61fd52867 100644
--- a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcCluster.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the provisioned cluster instance
+Create the provisioned cluster instance
.Description
-create the provisioned cluster instance
+Create the provisioned cluster instance
.Example
New-AzAksArcCluster -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -ControlPlaneCount 3
.Example
@@ -389,6 +389,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcCluster_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcCluster_CreateViaJsonFilePath';
@@ -396,6 +399,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcKubernetesVersion.ps1 b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcKubernetesVersion.ps1
index 5679b7bffe7f..4fe8801a5da7 100644
--- a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcKubernetesVersion.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcKubernetesVersion.ps1
@@ -134,6 +134,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcKubernetesVersion_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcKubernetesVersion_CreateViaJsonFilePath';
@@ -141,6 +144,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcNodepool.ps1
index b788318d72f1..e2ae3a97810b 100644
--- a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcNodepool.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the agent pool in the provisioned cluster
+Create the agent pool in the provisioned cluster
.Description
-create the agent pool in the provisioned cluster
+Create the agent pool in the provisioned cluster
.Example
New-AzAksArcNodepool -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -Name azps_test_nodepool_example
.Example
@@ -238,6 +238,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcNodepool_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcNodepool_CreateViaJsonFilePath';
@@ -245,6 +248,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVMSku.ps1 b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVMSku.ps1
index 70132b8a2288..c2d2a369ce11 100644
--- a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVMSku.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVMSku.ps1
@@ -134,6 +134,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcVMSku_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcVMSku_CreateViaJsonFilePath';
@@ -141,6 +144,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVirtualNetwork.ps1 b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVirtualNetwork.ps1
index 52a6a276cacd..73f1fad7fe32 100644
--- a/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVirtualNetwork.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/New-AzAksArcVirtualNetwork.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the virtual network resource
+Create the virtual network resource
.Description
-create the virtual network resource
+Create the virtual network resource
.Example
New-AzAksArcVirtualNetwork -Name "test-vnet-static" -ResourceGroupName "test-arcappliance-resgrp" -CustomLocationName "testcustomlocation" -MocVnetName "test-vnet"
@@ -230,14 +230,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcVirtualNetwork_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcVirtualNetwork_CreateViaJsonFilePath';
CreateViaJsonString = 'Az.AksArc.private\New-AzAksArcVirtualNetwork_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -246,6 +247,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/AksArc/AksArc.Autorest/internal/ProxyCmdletDefinitions.ps1
index e954951aa8da..78dac6e22498 100644
--- a/generated/AksArc/AksArc.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -108,11 +108,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.AksArc.private\Get-AzAksArcClusterAdminKubeconfig_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -222,11 +228,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcClusterUpgrade_Get';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -350,11 +362,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.AksArc.private\Get-AzAksArcClusterUserKubeconfig_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -464,12 +482,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcCluster_Get';
List = 'Az.AksArc.private\Get-AzAksArcCluster_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -579,12 +603,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcKubernetesVersion_Get';
List = 'Az.AksArc.private\Get-AzAksArcKubernetesVersion_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -725,6 +755,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcNodepool_Get';
GetViaIdentity = 'Az.AksArc.private\Get-AzAksArcNodepool_GetViaIdentity';
@@ -732,6 +765,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -837,11 +873,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.AksArc.private\Get-AzAksArcOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -951,12 +993,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Get = 'Az.AksArc.private\Get-AzAksArcVMSku_Get';
List = 'Az.AksArc.private\Get-AzAksArcVMSku_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -988,9 +1036,9 @@ end {
<#
.Synopsis
-create the provisioned cluster instance
+Create the provisioned cluster instance
.Description
-create the provisioned cluster instance
+Create the provisioned cluster instance
.Example
New-AzAksArcCluster -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -ControlPlaneCount 3
.Example
@@ -1361,6 +1409,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcCluster_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcCluster_CreateViaJsonFilePath';
@@ -1368,6 +1419,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1517,6 +1571,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcKubernetesVersion_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcKubernetesVersion_CreateViaJsonFilePath';
@@ -1524,6 +1581,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1555,9 +1615,9 @@ end {
<#
.Synopsis
-create the agent pool in the provisioned cluster
+Create the agent pool in the provisioned cluster
.Description
-create the agent pool in the provisioned cluster
+Create the agent pool in the provisioned cluster
.Example
New-AzAksArcNodepool -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -Name azps_test_nodepool_example
.Example
@@ -1777,6 +1837,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcNodepool_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcNodepool_CreateViaJsonFilePath';
@@ -1784,6 +1847,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1815,9 +1881,9 @@ end {
<#
.Synopsis
-create the virtual network resource
+Create the virtual network resource
.Description
-create the virtual network resource
+Create the virtual network resource
.Example
New-AzAksArcVirtualNetwork -Name "test-vnet-static" -ResourceGroupName "test-arcappliance-resgrp" -CustomLocationName "testcustomlocation" -MocVnetName "test-vnet"
@@ -2029,14 +2095,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcVirtualNetwork_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcVirtualNetwork_CreateViaJsonFilePath';
CreateViaJsonString = 'Az.AksArc.private\New-AzAksArcVirtualNetwork_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2045,6 +2112,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2194,6 +2264,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.AksArc.private\New-AzAksArcVMSku_CreateExpanded';
CreateViaJsonFilePath = 'Az.AksArc.private\New-AzAksArcVMSku_CreateViaJsonFilePath';
@@ -2201,6 +2274,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2328,11 +2404,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Delete = 'Az.AksArc.private\Remove-AzAksArcCluster_Delete';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2488,12 +2570,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Delete = 'Az.AksArc.private\Remove-AzAksArcNodepool_Delete';
DeleteViaIdentity = 'Az.AksArc.private\Remove-AzAksArcNodepool_DeleteViaIdentity';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2525,9 +2613,9 @@ end {
<#
.Synopsis
-update the provisioned cluster instance
+Update the provisioned cluster instance
.Description
-update the provisioned cluster instance
+Update the provisioned cluster instance
.Example
Update-AzAksArcCluster -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -ControlPlaneCount 3
.Example
@@ -2886,11 +2974,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.AksArc.private\Update-AzAksArcCluster_UpdateExpanded';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2922,9 +3016,9 @@ end {
<#
.Synopsis
-update the agent pool in the provisioned cluster
+Update the agent pool in the provisioned cluster
.Description
-update the agent pool in the provisioned cluster
+Update the agent pool in the provisioned cluster
.Example
Update-AzAksArcNodepool -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -Name azps_test_nodepool_example -Count 3
.Example
@@ -3151,12 +3245,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.AksArc.private\Update-AzAksArcNodepool_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.AksArc.private\Update-AzAksArcNodepool_UpdateViaIdentityExpanded';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcCluster.ps1
index a14a7e5612e3..8b3893cfa907 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcCluster.ps1
@@ -112,11 +112,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Delete = 'Az.AksArc.private\Remove-AzAksArcCluster_Delete';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcNodepool.ps1
index 38dfdd9ddf4c..a12863599144 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Remove-AzAksArcNodepool.ps1
@@ -140,12 +140,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Delete = 'Az.AksArc.private\Remove-AzAksArcNodepool_Delete';
DeleteViaIdentity = 'Az.AksArc.private\Remove-AzAksArcNodepool_DeleteViaIdentity';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcCluster.ps1 b/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcCluster.ps1
index 55064b14ad8a..81ce74d10e3e 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcCluster.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcCluster.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the provisioned cluster instance
+Update the provisioned cluster instance
.Description
-update the provisioned cluster instance
+Update the provisioned cluster instance
.Example
Update-AzAksArcCluster -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -ControlPlaneCount 3
.Example
@@ -377,11 +377,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.AksArc.private\Update-AzAksArcCluster_UpdateExpanded';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcNodepool.ps1 b/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcNodepool.ps1
index 931ec63431e2..4f745cf0f87a 100644
--- a/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcNodepool.ps1
+++ b/generated/AksArc/AksArc.Autorest/internal/Update-AzAksArcNodepool.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the agent pool in the provisioned cluster
+Update the agent pool in the provisioned cluster
.Description
-update the agent pool in the provisioned cluster
+Update the agent pool in the provisioned cluster
.Example
Update-AzAksArcNodepool -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -Name azps_test_nodepool_example -Count 3
.Example
@@ -245,12 +245,18 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.AksArc.private\Update-AzAksArcNodepool_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.AksArc.private\Update-AzAksArcNodepool_UpdateViaIdentityExpanded';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/AksArc/AksArc.Autorest/resources/README.md b/generated/AksArc/AksArc.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/AksArc/AksArc.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/Alb/Alb.Autorest/exports/New-AzAlb.ps1 b/generated/Alb/Alb.Autorest/exports/New-AzAlb.ps1
index 9691f49a2695..ced18b21e466 100644
--- a/generated/Alb/Alb.Autorest/exports/New-AzAlb.ps1
+++ b/generated/Alb/Alb.Autorest/exports/New-AzAlb.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a TrafficController
+Create a TrafficController
.Description
-create a TrafficController
+Create a TrafficController
.Example
New-AzAlb -Name test-alb -ResourceGroupName test-rg -Location NorthCentralUS
diff --git a/generated/Alb/Alb.Autorest/exports/New-AzAlbAssociation.ps1 b/generated/Alb/Alb.Autorest/exports/New-AzAlbAssociation.ps1
index afdd4ee51bc6..359ed6c6abbf 100644
--- a/generated/Alb/Alb.Autorest/exports/New-AzAlbAssociation.ps1
+++ b/generated/Alb/Alb.Autorest/exports/New-AzAlbAssociation.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Association
+Create a Association
.Description
-create a Association
+Create a Association
.Example
New-AzAlbAssociation -Name test-association -AlbName test-alb -ResourceGroupName test-rg -Location NorthCentralUS -SubnetId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet01/subnets/alb-subnet
diff --git a/generated/Alb/Alb.Autorest/exports/New-AzAlbFrontend.ps1 b/generated/Alb/Alb.Autorest/exports/New-AzAlbFrontend.ps1
index 6df9b0d2a467..ede15dafd5ee 100644
--- a/generated/Alb/Alb.Autorest/exports/New-AzAlbFrontend.ps1
+++ b/generated/Alb/Alb.Autorest/exports/New-AzAlbFrontend.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Frontend
+Create a Frontend
.Description
-create a Frontend
+Create a Frontend
.Example
New-AzAlbFrontend -Name alb-frontend -AlbName test-alb -ResourceGroupName test-rg -Location NorthCentralUS
diff --git a/generated/Alb/Alb.Autorest/exports/New-AzAlbSecurityPolicyWaf.ps1 b/generated/Alb/Alb.Autorest/exports/New-AzAlbSecurityPolicyWaf.ps1
index f95570fdd95c..eac651023142 100644
--- a/generated/Alb/Alb.Autorest/exports/New-AzAlbSecurityPolicyWaf.ps1
+++ b/generated/Alb/Alb.Autorest/exports/New-AzAlbSecurityPolicyWaf.ps1
@@ -16,16 +16,16 @@
<#
.Synopsis
-create a SecurityPolicy
+Create a SecurityPolicy
.Description
-create a SecurityPolicy
+Create a SecurityPolicy
.Example
New-AzAlbSecurityPolicyWaf -Name test-securityPolicy -AlbName test-alb -ResourceGroupName test-rg -Location NorthCentralUS
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicy
.Link
-https://learn.microsoft.com/powershell/module/az.alb/new-azalbsecuritypolicy
+https://learn.microsoft.com/powershell/module/az.alb/new-azalbsecuritypolicywaf
#>
function New-AzAlbSecurityPolicyWaf {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicy])]
diff --git a/generated/Alb/Alb.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Alb/Alb.Autorest/exports/ProxyCmdletDefinitions.ps1
index 7ba8aa4b5030..2ca3f6187d65 100644
--- a/generated/Alb/Alb.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Alb/Alb.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -932,9 +932,9 @@ end {
<#
.Synopsis
-create a Association
+Create a Association
.Description
-create a Association
+Create a Association
.Example
New-AzAlbAssociation -Name test-association -AlbName test-alb -ResourceGroupName test-rg -Location NorthCentralUS -SubnetId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet01/subnets/alb-subnet
@@ -1152,9 +1152,9 @@ end {
<#
.Synopsis
-create a Frontend
+Create a Frontend
.Description
-create a Frontend
+Create a Frontend
.Example
New-AzAlbFrontend -Name alb-frontend -AlbName test-alb -ResourceGroupName test-rg -Location NorthCentralUS
@@ -1366,9 +1366,9 @@ end {
<#
.Synopsis
-create a TrafficController
+Create a TrafficController
.Description
-create a TrafficController
+Create a TrafficController
.Example
New-AzAlb -Name test-alb -ResourceGroupName test-rg -Location NorthCentralUS
@@ -2541,9 +2541,9 @@ end {
<#
.Synopsis
-update a Association
+Update a Association
.Description
-update a Association
+Update a Association
.Example
Update-AzAlbAssociation -Name test-association -AlbName test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
@@ -2789,9 +2789,9 @@ end {
<#
.Synopsis
-update a Frontend
+Update a Frontend
.Description
-update a Frontend
+Update a Frontend
.Example
Update-AzAlbFrontend -Name test-frontend -AlbName test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
@@ -3024,9 +3024,9 @@ end {
<#
.Synopsis
-update a TrafficController
+Update a TrafficController
.Description
-update a TrafficController
+Update a TrafficController
.Example
Update-AzAlb -Name test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
@@ -3243,16 +3243,16 @@ end {
<#
.Synopsis
-create a SecurityPolicy
+Create a SecurityPolicy
.Description
-create a SecurityPolicy
+Create a SecurityPolicy
.Example
New-AzAlbSecurityPolicyWaf -Name test-securityPolicy -AlbName test-alb -ResourceGroupName test-rg -Location NorthCentralUS
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicy
.Link
-https://learn.microsoft.com/powershell/module/az.alb/new-azalbsecuritypolicy
+https://learn.microsoft.com/powershell/module/az.alb/new-azalbsecuritypolicywaf
#>
function New-AzAlbSecurityPolicyWaf {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicy])]
@@ -3463,9 +3463,9 @@ end {
<#
.Synopsis
-update a SecurityPolicy
+Update a SecurityPolicy
.Description
-update a SecurityPolicy
+Update a SecurityPolicy
.Example
Update-AzAlbSecurityPolicyWaf -Name test-securityPolicy -AlbName test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
@@ -3496,7 +3496,7 @@ TRAFFICCONTROLLERINPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[TrafficControllerName ]: traffic controller name for path
.Link
-https://learn.microsoft.com/powershell/module/az.alb/update-azalbsecuritypolicy
+https://learn.microsoft.com/powershell/module/az.alb/update-azalbsecuritypolicywaf
#>
function Update-AzAlbSecurityPolicyWaf {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicy])]
diff --git a/generated/Alb/Alb.Autorest/exports/Update-AzAlb.ps1 b/generated/Alb/Alb.Autorest/exports/Update-AzAlb.ps1
index 85fa800348e2..55027ce8351a 100644
--- a/generated/Alb/Alb.Autorest/exports/Update-AzAlb.ps1
+++ b/generated/Alb/Alb.Autorest/exports/Update-AzAlb.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a TrafficController
+Update a TrafficController
.Description
-update a TrafficController
+Update a TrafficController
.Example
Update-AzAlb -Name test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
diff --git a/generated/Alb/Alb.Autorest/exports/Update-AzAlbAssociation.ps1 b/generated/Alb/Alb.Autorest/exports/Update-AzAlbAssociation.ps1
index 344e07d18229..52387682cbdf 100644
--- a/generated/Alb/Alb.Autorest/exports/Update-AzAlbAssociation.ps1
+++ b/generated/Alb/Alb.Autorest/exports/Update-AzAlbAssociation.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Association
+Update a Association
.Description
-update a Association
+Update a Association
.Example
Update-AzAlbAssociation -Name test-association -AlbName test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
diff --git a/generated/Alb/Alb.Autorest/exports/Update-AzAlbFrontend.ps1 b/generated/Alb/Alb.Autorest/exports/Update-AzAlbFrontend.ps1
index b621ae6fd603..6d2d40f54ada 100644
--- a/generated/Alb/Alb.Autorest/exports/Update-AzAlbFrontend.ps1
+++ b/generated/Alb/Alb.Autorest/exports/Update-AzAlbFrontend.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Frontend
+Update a Frontend
.Description
-update a Frontend
+Update a Frontend
.Example
Update-AzAlbFrontend -Name test-frontend -AlbName test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
diff --git a/generated/Alb/Alb.Autorest/exports/Update-AzAlbSecurityPolicyWaf.ps1 b/generated/Alb/Alb.Autorest/exports/Update-AzAlbSecurityPolicyWaf.ps1
index 7dda40121939..058f6dcb81a3 100644
--- a/generated/Alb/Alb.Autorest/exports/Update-AzAlbSecurityPolicyWaf.ps1
+++ b/generated/Alb/Alb.Autorest/exports/Update-AzAlbSecurityPolicyWaf.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a SecurityPolicy
+Update a SecurityPolicy
.Description
-update a SecurityPolicy
+Update a SecurityPolicy
.Example
Update-AzAlbSecurityPolicyWaf -Name test-securityPolicy -AlbName test-alb -ResourceGroupName test-rg -Tag @{TestTag="Test tag value"}
@@ -49,7 +49,7 @@ TRAFFICCONTROLLERINPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription.
[TrafficControllerName ]: traffic controller name for path
.Link
-https://learn.microsoft.com/powershell/module/az.alb/update-azalbsecuritypolicy
+https://learn.microsoft.com/powershell/module/az.alb/update-azalbsecuritypolicywaf
#>
function Update-AzAlbSecurityPolicyWaf {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicy])]
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/Association.cs b/generated/Alb/Alb.Autorest/generated/api/Models/Association.cs
index d999b3eca3f4..e0bb6b0dac14 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/Association.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/Association.cs
@@ -33,31 +33,49 @@ public partial class Association :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for AssociationType
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationInternal.AssociationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).AssociationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).AssociationType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationInternal.AssociationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).AssociationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).AssociationType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationProperties Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.AssociationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Subnet
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationSubnet Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).Subnet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationSubnet Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationPropertiesInternal)Property).Subnet = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
@@ -92,37 +110,37 @@ public partial class Association :
///
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/AssociationUpdate.cs b/generated/Alb/Alb.Autorest/generated/api/Models/AssociationUpdate.cs
index e7b7da1954bd..124a15c5a925 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/AssociationUpdate.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/AssociationUpdate.cs
@@ -21,7 +21,7 @@ public partial class AssociationUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.AssociationUpdateProperties()); set { {_property = value;} } }
/// Internal Acessors for Subnet
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationSubnetUpdate Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdateInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdatePropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdatePropertiesInternal)Property).Subnet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationSubnetUpdate Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdateInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdatePropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdatePropertiesInternal)Property).Subnet = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IAssociationUpdateProperties _property;
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Alb/Alb.Autorest/generated/api/Models/ErrorResponse.cs
index 72c458e97c26..9d3d1c5cde41 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inlined)]
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/Frontend.cs b/generated/Alb/Alb.Autorest/generated/api/Models/Frontend.cs
index 9ed63ff492bf..da1c14035157 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/Frontend.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/Frontend.cs
@@ -35,28 +35,46 @@ public partial class Frontend :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Fqdn
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).Fqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).Fqdn = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendProperties Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.FrontendProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IFrontendPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
@@ -86,37 +104,37 @@ public partial class Frontend :
///
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/Operation.cs b/generated/Alb/Alb.Autorest/generated/api/Models/Operation.cs
index 5eb593c28590..214ddf5692f3 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/Resource.cs b/generated/Alb/Alb.Autorest/generated/api/Models/Resource.cs
index e3a3b9f126d2..4b8aaa0712e0 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Alb.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.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicy.cs b/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicy.cs
index e8f897c7641e..14923ce146dd 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicy.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicy.cs
@@ -28,31 +28,49 @@ public partial class SecurityPolicy :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Internal Acessors for PolicyType
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyInternal.PolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).PolicyType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).PolicyType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyInternal.PolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).PolicyType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).PolicyType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyProperties Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.SecurityPolicyProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for WafPolicy
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafPolicy Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyInternal.WafPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).WafPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).WafPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafPolicy Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyInternal.WafPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).WafPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyPropertiesInternal)Property).WafPolicy = value ?? null /* model class */; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
@@ -87,37 +105,37 @@ public partial class SecurityPolicy :
///
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicyUpdate.cs b/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicyUpdate.cs
index b9b940d7be28..7ad7c3e79090 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicyUpdate.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/SecurityPolicyUpdate.cs
@@ -17,7 +17,7 @@ public partial class SecurityPolicyUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.SecurityPolicyUpdateProperties()); set { {_property = value;} } }
/// Internal Acessors for WafPolicy
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafPolicyUpdate Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdateInternal.WafPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdatePropertiesInternal)Property).WafPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdatePropertiesInternal)Property).WafPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafPolicyUpdate Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdateInternal.WafPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdatePropertiesInternal)Property).WafPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdatePropertiesInternal)Property).WafPolicy = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyUpdateProperties _property;
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/TrackedResource.cs b/generated/Alb/Alb.Autorest/generated/api/Models/TrackedResource.cs
index 780d2f13167a..a3eedfd6cfc4 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Alb/Alb.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.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/TrafficController.cs b/generated/Alb/Alb.Autorest/generated/api/Models/TrafficController.cs
index 7b9aabf675c0..a15a0e5675b6 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/TrafficController.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/TrafficController.cs
@@ -45,43 +45,61 @@ public partial class TrafficController :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Internal Acessors for Association
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.Association { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Association; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Association = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.Association { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Association; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Association = value ?? null /* arrayOf */; }
/// Internal Acessors for ConfigurationEndpoint
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.ConfigurationEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ConfigurationEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ConfigurationEndpoint = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.ConfigurationEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ConfigurationEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ConfigurationEndpoint = value ?? null /* arrayOf */; }
/// Internal Acessors for Frontend
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.Frontend { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Frontend; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Frontend = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.Frontend { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Frontend; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).Frontend = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerProperties Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.TrafficControllerProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SecurityPolicy
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.SecurityPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicy = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.SecurityPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicy = value ?? null /* arrayOf */; }
/// Internal Acessors for SecurityPolicyConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyConfigurations Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.SecurityPolicyConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyConfigurations Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.SecurityPolicyConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfiguration = value ?? null /* model class */; }
/// Internal Acessors for SecurityPolicyConfigurationWafSecurityPolicy
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafSecurityPolicy Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.SecurityPolicyConfigurationWafSecurityPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfigurationWafSecurityPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfigurationWafSecurityPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafSecurityPolicy Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerInternal.SecurityPolicyConfigurationWafSecurityPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfigurationWafSecurityPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal)Property).SecurityPolicyConfigurationWafSecurityPolicy = value ?? null /* model class */; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
@@ -116,37 +134,37 @@ public partial class TrafficController :
///
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Alb.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Alb.Origin(Microsoft.Azure.PowerShell.Cmdlets.Alb.PropertyOrigin.Inherited)]
diff --git a/generated/Alb/Alb.Autorest/generated/api/Models/TrafficControllerProperties.cs b/generated/Alb/Alb.Autorest/generated/api/Models/TrafficControllerProperties.cs
index ff80295a670b..c3d57f343def 100644
--- a/generated/Alb/Alb.Autorest/generated/api/Models/TrafficControllerProperties.cs
+++ b/generated/Alb/Alb.Autorest/generated/api/Models/TrafficControllerProperties.cs
@@ -53,7 +53,7 @@ public partial class TrafficControllerProperties :
Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyConfigurations Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal.SecurityPolicyConfiguration { get => (this._securityPolicyConfiguration = this._securityPolicyConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.SecurityPolicyConfigurations()); set { {_securityPolicyConfiguration = value;} } }
/// Internal Acessors for SecurityPolicyConfigurationWafSecurityPolicy
- Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafSecurityPolicy Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal.SecurityPolicyConfigurationWafSecurityPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyConfigurationsInternal)SecurityPolicyConfiguration).WafSecurityPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyConfigurationsInternal)SecurityPolicyConfiguration).WafSecurityPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.IWafSecurityPolicy Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ITrafficControllerPropertiesInternal.SecurityPolicyConfigurationWafSecurityPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyConfigurationsInternal)SecurityPolicyConfiguration).WafSecurityPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Alb.Models.ISecurityPolicyConfigurationsInternal)SecurityPolicyConfiguration).WafSecurityPolicy = value ?? null /* model class */; }
/// Backing field for property.
private string _provisioningState;
diff --git a/generated/Alb/Alb.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Alb/Alb.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index a693d3f5c4f4..ac61b09822fc 100644
--- a/generated/Alb/Alb.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Alb/Alb.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/Alb/Alb.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Alb/Alb.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index ab011a6e3721..6bf3ffa81bb9 100644
--- a/generated/Alb/Alb.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Alb/Alb.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/Alb/Alb.Autorest/generated/runtime/MessageAttribute.cs b/generated/Alb/Alb.Autorest/generated/runtime/MessageAttribute.cs
index 4246508c6279..1e53e5055621 100644
--- a/generated/Alb/Alb.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Alb/Alb.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Alb.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.Alb" : @"";
+
//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/Alb/Alb.Autorest/generated/runtime/Properties/Resources.resx b/generated/Alb/Alb.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Alb/Alb.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Alb/Alb.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/Alb/Alb.Autorest/internal/New-AzAlbSecurityPolicy.ps1 b/generated/Alb/Alb.Autorest/internal/New-AzAlbSecurityPolicy.ps1
index 96f707e57bc3..e0fe86c1951b 100644
--- a/generated/Alb/Alb.Autorest/internal/New-AzAlbSecurityPolicy.ps1
+++ b/generated/Alb/Alb.Autorest/internal/New-AzAlbSecurityPolicy.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a SecurityPolicy
+Create a SecurityPolicy
.Description
-create a SecurityPolicy
+Create a SecurityPolicy
.Example
{{ Add code here }}
.Example
diff --git a/generated/Alb/Alb.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Alb/Alb.Autorest/internal/ProxyCmdletDefinitions.ps1
index fa58bc4115e4..3f5a6628a96c 100644
--- a/generated/Alb/Alb.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/Alb/Alb.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -132,9 +132,9 @@ end {
<#
.Synopsis
-create a SecurityPolicy
+Create a SecurityPolicy
.Description
-create a SecurityPolicy
+Create a SecurityPolicy
.Example
{{ Add code here }}
.Example
@@ -312,9 +312,9 @@ end {
<#
.Synopsis
-update a SecurityPolicy
+Update a SecurityPolicy
.Description
-update a SecurityPolicy
+Update a SecurityPolicy
.Example
{{ Add code here }}
.Example
diff --git a/generated/Alb/Alb.Autorest/internal/Update-AzAlbSecurityPolicy.ps1 b/generated/Alb/Alb.Autorest/internal/Update-AzAlbSecurityPolicy.ps1
index 1f79731d2e0c..b36a5bcee212 100644
--- a/generated/Alb/Alb.Autorest/internal/Update-AzAlbSecurityPolicy.ps1
+++ b/generated/Alb/Alb.Autorest/internal/Update-AzAlbSecurityPolicy.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a SecurityPolicy
+Update a SecurityPolicy
.Description
-update a SecurityPolicy
+Update a SecurityPolicy
.Example
{{ Add code here }}
.Example
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/New-AzPrometheusRuleGroup.ps1 b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/New-AzPrometheusRuleGroup.ps1
index c7f110bf3899..58ddbd79f3c3 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/New-AzPrometheusRuleGroup.ps1
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/New-AzPrometheusRuleGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Prometheus rule group definition.
+Create a Prometheus rule group definition.
.Description
-create a Prometheus rule group definition.
+Create a Prometheus rule group definition.
.Example
$rule1 = New-AzPrometheusRuleObject -Record "job_type:billing_jobs_duration_seconds:99p5m"
$scope = "/subscriptions/fffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/MyresourceGroup/providers/microsoft.monitor/accounts/MyAccounts"
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/ProxyCmdletDefinitions.ps1
index 301a0b8a1ae5..fed7e37ba228 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -225,9 +225,9 @@ end {
<#
.Synopsis
-create a Prometheus rule group definition.
+Create a Prometheus rule group definition.
.Description
-create a Prometheus rule group definition.
+Create a Prometheus rule group definition.
.Example
$rule1 = New-AzPrometheusRuleObject -Record "job_type:billing_jobs_duration_seconds:99p5m"
$scope = "/subscriptions/fffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/MyresourceGroup/providers/microsoft.monitor/accounts/MyAccounts"
@@ -716,9 +716,9 @@ end {
<#
.Synopsis
-update an Prometheus rule group definition.
+Update an Prometheus rule group definition.
.Description
-update an Prometheus rule group definition.
+Update an Prometheus rule group definition.
.Example
Update-AzPrometheusRuleGroup -RuleGroupName MyRuleGroup -ResourceGroupName MyResourceGroup -Enabled:$false
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/Update-AzPrometheusRuleGroup.ps1 b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/Update-AzPrometheusRuleGroup.ps1
index 5d9ac6d3a547..57b56ee80430 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/Update-AzPrometheusRuleGroup.ps1
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/exports/Update-AzPrometheusRuleGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an Prometheus rule group definition.
+Update an Prometheus rule group definition.
.Description
-update an Prometheus rule group definition.
+Update an Prometheus rule group definition.
.Example
Update-AzPrometheusRuleGroup -RuleGroupName MyRuleGroup -ResourceGroupName MyResourceGroup -Enabled:$false
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/ErrorResponse.cs b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/ErrorResponse.cs
index 64afe8d8fe52..f1c640d75df2 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inlined)]
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/PrometheusRuleGroupResource.cs b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/PrometheusRuleGroupResource.cs
index 8eb73ab84e5d..40d392ca1c1d 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/PrometheusRuleGroupResource.cs
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/PrometheusRuleGroupResource.cs
@@ -52,22 +52,40 @@ public partial class PrometheusRuleGroupResource :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.FormatTable(Index = 1)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IPrometheusRuleGroupProperties Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IPrometheusRuleGroupResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.PrometheusRuleGroupProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
@@ -105,37 +123,37 @@ public partial class PrometheusRuleGroupResource :
///
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/Resource.cs b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/Resource.cs
index ed0076535fe3..6fe2894edd07 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/Resource.cs
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.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.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/TrackedResource.cs b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/TrackedResource.cs
index a6534a1ccc95..46311d82956d 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/api/Models/TrackedResource.cs
@@ -35,16 +35,34 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
@@ -54,31 +72,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Origin(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.ITrackedResourceTags _tag;
@@ -118,7 +136,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 4398c445ffbb..75436f6bd19b 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/AlertsManagement/PrometheusRuleGroups.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/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 6163c11a083d..bd9a57c1cdbd 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/MessageAttribute.cs b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/MessageAttribute.cs
index 5625c72a445e..c53ef47ca991 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.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.AlertsManagement") ? @"Az.PrometheusRuleGroups" : @"Az.AlertsManagement";
+
//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/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/Properties/Resources.resx b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/AlertsManagement/PrometheusRuleGroups.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/AlertsManagement/PrometheusRuleGroups.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/internal/ProxyCmdletDefinitions.ps1
index 35b4aa2e068b..caa5a8263f48 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Prometheus rule group definition.
+Update a Prometheus rule group definition.
.Description
-update a Prometheus rule group definition.
+Update a Prometheus rule group definition.
.Example
{{ Add code here }}
.Example
diff --git a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/internal/Set-AzPrometheusRuleGroup.ps1 b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/internal/Set-AzPrometheusRuleGroup.ps1
index 35b4aa2e068b..caa5a8263f48 100644
--- a/generated/AlertsManagement/PrometheusRuleGroups.Autorest/internal/Set-AzPrometheusRuleGroup.ps1
+++ b/generated/AlertsManagement/PrometheusRuleGroups.Autorest/internal/Set-AzPrometheusRuleGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Prometheus rule group definition.
+Update a Prometheus rule group definition.
.Description
-update a Prometheus rule group definition.
+Update a Prometheus rule group definition.
.Example
{{ Add code here }}
.Example
diff --git a/generated/App/App.Autorest/Az.App.csproj b/generated/App/App.Autorest/Az.App.csproj
index e856a820561e..857a900d7a80 100644
--- a/generated/App/App.Autorest/Az.App.csproj
+++ b/generated/App/App.Autorest/Az.App.csproj
@@ -2,9 +2,9 @@
App
App
+ App.Autorest
-
diff --git a/generated/App/App.Autorest/Properties/AssemblyInfo.cs b/generated/App/App.Autorest/Properties/AssemblyInfo.cs
deleted file mode 100644
index 9e80fa8bb61f..000000000000
--- a/generated/App/App.Autorest/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// 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.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Microsoft Azure Powershell - App")]
-[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
-[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
-[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(false)]
-[assembly: Guid("33cbebf1-be77-4f42-a277-44aa6cac1070")]
-[assembly: AssemblyVersion("2.0.1")]
-[assembly: AssemblyFileVersion("2.0.1")]
diff --git a/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1
index 0b9a973b913e..7ac0ca7c98ed 100644
--- a/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Disable-AzContainerAppRevision.ps1
@@ -183,6 +183,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
DeactivateViaIdentityContainerApp = 'Az.App.private\Disable-AzContainerAppRevision_DeactivateViaIdentityContainerApp';
}
if (('Deactivate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1
index 4dd18128eaeb..fc2e08ad8c2a 100644
--- a/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Enable-AzContainerAppRevision.ps1
@@ -183,6 +183,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
ActivateViaIdentityContainerApp = 'Az.App.private\Enable-AzContainerAppRevision_ActivateViaIdentityContainerApp';
}
if (('Activate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1
index 19356bcbeffb..cefe8ae1b744 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerApp.ps1
@@ -148,6 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +181,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerApp_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1
index cd6486db9f20..dbac52b75d7c 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthConfig.ps1
@@ -182,6 +182,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppAuthConfig_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1
index efe211cf16ef..4cb2d559db87 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppAuthToken.ps1
@@ -143,6 +143,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -165,8 +174,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -180,6 +187,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1
index 94a84d1ab362..a9352c6b403d 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppAvailableWorkloadProfile.ps1
@@ -133,6 +133,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -155,8 +164,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAvailableWorkloadProfile_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -170,6 +177,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1
index ec3e8e9d3d8f..d1639ceda690 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppBillingMeter.ps1
@@ -133,6 +133,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -155,8 +164,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppBillingMeter_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -170,6 +177,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1
index 41a13ee76f2c..9674dea60abc 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnv.ps1
@@ -148,6 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +181,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppConnectedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1
index 6347b8889841..b6834ec9dc83 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvCert.ps1
@@ -182,6 +182,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvCert_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1
index 1d8e39b42d43..6cf5831924bd 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDapr.ps1
@@ -182,6 +182,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDapr_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1
index 0a2141afefbf..4a113f0ed6bd 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvDaprSecret.ps1
@@ -114,6 +114,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -135,8 +144,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -150,6 +157,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1
index 436c3ed966b5..95a399046ac4 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppConnectedEnvStorage.ps1
@@ -184,6 +184,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -208,8 +217,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvStorage_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -223,6 +230,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1
index f10dd41c094f..3eb0bfdd2107 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppCustomHostName.ps1
@@ -114,6 +114,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -135,8 +144,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppCustomHostName_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -150,6 +157,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1
index bb2cf24cc479..6d63634ba75f 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticDetector.ps1
@@ -176,6 +176,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -200,8 +209,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticDetector_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -215,6 +222,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1
index 2a5b73f10d52..e3481aa2bfd6 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRevision.ps1
@@ -184,6 +184,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -208,8 +217,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticRevision_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -223,6 +230,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1
index ca45c9dd620d..aeae0b4689f9 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppDiagnosticRoot.ps1
@@ -140,6 +140,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -162,8 +171,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -177,6 +184,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1
index 3f100ffe97bd..9773bbff780a 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppJob.ps1
@@ -148,6 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +181,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppJob_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1
index 93bd905f227f..4d90700c12af 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppJobExecution.ps1
@@ -174,6 +174,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -197,8 +206,6 @@ begin {
JobViaIdentityJob = 'Az.App.private\Get-AzContainerAppJobExecution_JobViaIdentityJob';
}
if (('Job') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -212,6 +219,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1
index 6a3d11d19869..91727e832965 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppJobSecret.ps1
@@ -108,6 +108,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +138,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppJobSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1
index 7f18a61becc4..177a9123ac84 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedCert.ps1
@@ -179,6 +179,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -203,8 +212,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedCert_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -218,6 +225,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1
index 224203df7e85..6bcb19015703 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnv.ps1
@@ -148,6 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +181,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppManagedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1
index 354d0f8ebee1..a3c29e8f146b 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvAuthToken.ps1
@@ -140,6 +140,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -162,8 +171,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -177,6 +184,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1
index e782d02f62c3..0a2405222955 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvCert.ps1
@@ -182,6 +182,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvCert_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1
index eacabec3bdab..2c84e9b9ee10 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDapr.ps1
@@ -182,6 +182,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDapr_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1
index cccf0cccf698..7e847e3f22a7 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDaprSecret.ps1
@@ -114,6 +114,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -135,8 +144,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -150,6 +157,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1
index 47b71ad4c5d3..eaefa8a61197 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticDetector.ps1
@@ -179,6 +179,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -203,8 +212,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticDetector_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -218,6 +225,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1
index 03034c348896..6863d8138e47 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvDiagnosticRoot.ps1
@@ -140,6 +140,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -162,8 +171,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -177,6 +184,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1
index f71d08d7f19d..ce9e9b3347c4 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvStorage.ps1
@@ -184,6 +184,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -208,8 +217,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvStorage_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -223,6 +230,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1
index e9941b2bc079..be2d884f6ca7 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppManagedEnvWorkloadProfileState.ps1
@@ -108,6 +108,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +138,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvWorkloadProfileState_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1
index 8936d8d4efca..dc79fcc84e2f 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppRevision.ps1
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -212,8 +221,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevision_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -227,6 +234,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1
index 1cc32f105205..6bffd1575495 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppRevisionReplica.ps1
@@ -224,6 +224,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -249,8 +258,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevisionReplica_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -264,6 +271,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1
index e1af227ead41..c4980e3a1318 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppSecret.ps1
@@ -108,6 +108,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -129,8 +138,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -144,6 +151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1 b/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1
index 4a202334be5f..483c3d48bd8a 100644
--- a/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1
+++ b/generated/App/App.Autorest/exports/Get-AzContainerAppSourceControl.ps1
@@ -182,6 +182,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSourceControl_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/New-AzContainerApp.ps1
index e02fbffde272..19fdbfabdca8 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerApp.ps1
@@ -508,6 +508,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -532,8 +541,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerApp';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -547,6 +554,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1
index 50cc0c028715..6d1f6fd0f463 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppAuthConfig.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Description
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Example
$identity = New-AzContainerAppIdentityProviderObject -RegistrationAppId xxxxxx@xxx.com -RegistrationAppSecretSettingName redis-config
@@ -389,6 +389,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -414,8 +423,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppAuthConfig_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -429,6 +436,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1
index 17061653871f..69ec475464f4 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConfigurationObject.ps1
@@ -271,6 +271,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -298,6 +301,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1
index 652bcb2bb5d0..23ff7c55efc1 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnv.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Description
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Example
New-AzContainerAppConnectedEnv -Name azps-connectedenv -ResourceGroupName azps_test_group_app -Location eastus -ExtendedLocationName "/subscriptions/{subId}/resourceGroups/azps_test_group_app/providers/Microsoft.ExtendedLocation/customLocations/my-custom-location" -ExtendedLocationType CustomLocation
@@ -237,6 +237,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -261,8 +270,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -276,6 +283,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1
index fe0afb2474ad..de0edc2dfdb6 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvCert.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -232,6 +232,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -257,8 +266,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -272,6 +279,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1
index bdc77dc86a33..4c2b934fb69c 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Description
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -276,6 +276,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -301,8 +310,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -316,6 +323,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1
index 20291b1635b1..f08a32ae9c63 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppConnectedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Description
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -230,6 +230,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -255,8 +264,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -270,6 +277,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1
index 7769ac915dc0..0320aa8e5e0c 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppCustomDomainObject.ps1
@@ -62,6 +62,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -89,6 +92,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1
index 123f3c3498ec..cf960af7f341 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppDaprMetadataObject.ps1
@@ -58,6 +58,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -85,6 +88,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1
index 87ea61cd1f03..6ff32a12ea63 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppEnvironmentVarObject.ps1
@@ -58,6 +58,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -85,6 +88,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
index b0eb76241752..d8dcfdefbf4d 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppIPSecurityRestrictionRuleObject.ps1
@@ -67,6 +67,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -94,6 +97,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1
index 468c6b589682..8c0bbe189cf8 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppIdentityProviderObject.ps1
@@ -312,6 +312,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -339,6 +342,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1
index 6eec1c788b41..dd32a2e6def6 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppInitContainerTemplateObject.ps1
@@ -104,6 +104,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -131,6 +134,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1
index 67163ed81461..dd68d86fdc87 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppJob.ps1
@@ -440,6 +440,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -464,8 +473,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerAppJob';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -479,6 +486,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1
index 8dd1f0344af8..46e36e54c5e1 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppJobExecutionContainerObject.ps1
@@ -93,6 +93,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -120,6 +123,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1
index 495144494779..6c9eceeb16f2 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppJobScaleRuleObject.ps1
@@ -74,6 +74,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -101,6 +104,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1
index 3213d578fce8..9dc049762fe3 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedCert.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Managed Certificate.
+Create a Managed Certificate.
.Description
-create a Managed Certificate.
+Create a Managed Certificate.
.Example
New-AzContainerAppManagedCert -EnvName azps-env -Name azps-managedcert -ResourceGroupName azps_test_group_app -Location eastus -DomainControlValidation TXT -SubjectName "mycertweb.com"
@@ -240,6 +240,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -265,8 +274,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -280,6 +287,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1
index 511f9a950b02..76c766ffe8db 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnv.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Description
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location canadacentral -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -331,6 +331,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -355,8 +364,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -370,6 +377,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1
index 481b4fbb713c..67c3983daafe 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvCert.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -232,6 +232,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -257,8 +266,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -272,6 +279,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1
index 62e93a0f4a3e..bc6b458c8a52 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Description
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -276,6 +276,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -301,8 +310,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -316,6 +323,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1
index 7891f8f04658..df80afcb2eef 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppManagedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Description
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -230,6 +230,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -255,8 +264,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -270,6 +277,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1
index 4628eb48e27e..e634b30c2272 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppProbeHeaderObject.ps1
@@ -52,6 +52,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -79,6 +82,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1
index cc5a75a2926d..d182637af9dc 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppProbeObject.ps1
@@ -166,6 +166,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -193,6 +196,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1
index e4ef3b0a289a..5907ed4aa250 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppRegistryCredentialObject.ps1
@@ -66,6 +66,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -93,6 +96,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1
index 9d70231f46f1..6369cb844a1b 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleAuthObject.ps1
@@ -52,6 +52,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -79,6 +82,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1
index 9b33012ba54b..1aa29b2f4797 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppScaleRuleObject.ps1
@@ -136,6 +136,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -163,6 +166,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1
index daf067ec443f..3320ae24a3e9 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppSecretObject.ps1
@@ -64,6 +64,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -91,6 +94,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1
index abee5d8d14a3..fdf7fcc1fb38 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppSecretVolumeItemObject.ps1
@@ -53,6 +53,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -80,6 +83,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1
index e3459938c20d..4a33600b97cf 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppServiceBindObject.ps1
@@ -52,6 +52,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -79,6 +82,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1
index dfe56e4576f8..97b1f2fbe2d6 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppSourceControl.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Description
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -346,6 +346,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -371,8 +380,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppSourceControl_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -386,6 +393,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1
index 212e52ee5474..95a4e731a9e2 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppTemplateObject.ps1
@@ -131,6 +131,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -158,6 +161,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1
index feba3b3e5f49..a4d9d32b1bf7 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppTrafficWeightObject.ps1
@@ -64,6 +64,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -91,6 +94,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1
index f30124415fb1..58947958127a 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeMountObject.ps1
@@ -59,6 +59,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -86,6 +89,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1
index 02dbfe0c540c..f895952f01ea 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppVolumeObject.ps1
@@ -83,6 +83,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -110,6 +113,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1 b/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1
index 0eaace3ddd7d..9ae1041c9179 100644
--- a/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1
+++ b/generated/App/App.Autorest/exports/New-AzContainerAppWorkloadProfileObject.ps1
@@ -64,6 +64,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -91,6 +94,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1
index 125e6444ed7e..327a3783b97c 100644
--- a/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/App/App.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -183,6 +183,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
DeactivateViaIdentityContainerApp = 'Az.App.private\Disable-AzContainerAppRevision_DeactivateViaIdentityContainerApp';
}
if (('Deactivate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -433,6 +443,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -456,8 +475,6 @@ begin {
ActivateViaIdentityContainerApp = 'Az.App.private\Enable-AzContainerAppRevision_ActivateViaIdentityContainerApp';
}
if (('Activate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -471,6 +488,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -682,6 +702,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -706,8 +735,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppAuthConfig_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -721,6 +748,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -893,6 +923,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -915,8 +954,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -930,6 +967,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1092,6 +1132,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1114,8 +1163,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppAvailableWorkloadProfile_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1129,6 +1176,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1291,6 +1341,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1313,8 +1372,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppBillingMeter_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1328,6 +1385,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1539,6 +1599,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1563,8 +1632,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvCert_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1578,6 +1645,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1721,6 +1791,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1742,8 +1821,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1757,6 +1834,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1968,6 +2048,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1992,8 +2081,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvDapr_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2007,6 +2094,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2220,6 +2310,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2244,8 +2343,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppConnectedEnvStorage_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2259,6 +2356,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2436,6 +2536,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2460,8 +2569,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppConnectedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2475,6 +2582,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2618,6 +2728,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2639,8 +2758,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppCustomHostName_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2654,6 +2771,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2859,6 +2979,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2883,8 +3012,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticDetector_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2898,6 +3025,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3111,6 +3241,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3135,8 +3274,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppDiagnosticRevision_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3150,6 +3287,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3319,6 +3459,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3341,8 +3490,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3356,6 +3503,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3559,6 +3709,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3582,8 +3741,6 @@ begin {
JobViaIdentityJob = 'Az.App.private\Get-AzContainerAppJobExecution_JobViaIdentityJob';
}
if (('Job') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3597,6 +3754,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3734,6 +3894,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3755,8 +3924,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppJobSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3770,6 +3937,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3947,6 +4117,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3971,8 +4150,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppJob_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3986,6 +4163,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4194,6 +4374,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4218,8 +4407,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedCert_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4233,6 +4420,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4402,6 +4592,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4424,8 +4623,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvAuthToken_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4439,6 +4636,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4650,6 +4850,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4674,8 +4883,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvCert_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4689,6 +4896,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4832,6 +5042,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4853,8 +5072,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDaprSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4868,6 +5085,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5079,6 +5299,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5103,8 +5332,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDapr_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5118,6 +5345,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5326,6 +5556,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5350,8 +5589,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticDetector_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5365,6 +5602,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5534,6 +5774,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5556,8 +5805,6 @@ begin {
GetViaIdentity = 'Az.App.private\Get-AzContainerAppManagedEnvDiagnosticRoot_GetViaIdentity';
}
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5571,6 +5818,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5784,6 +6034,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5808,8 +6067,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvStorage_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5823,6 +6080,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5960,6 +6220,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5981,8 +6250,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppManagedEnvWorkloadProfileState_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5996,6 +6263,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6173,6 +6443,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6197,8 +6476,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerAppManagedEnv_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6212,6 +6489,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6465,6 +6745,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6490,8 +6779,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevisionReplica_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6505,6 +6792,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6722,6 +7012,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6746,8 +7045,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppRevision_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6761,6 +7058,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6898,6 +7198,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6919,8 +7228,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSecret_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6934,6 +7241,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7145,6 +7455,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7169,8 +7488,6 @@ begin {
List = 'Az.App.private\Get-AzContainerAppSourceControl_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7184,6 +7501,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7361,6 +7681,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7385,8 +7714,6 @@ begin {
List1 = 'Az.App.private\Get-AzContainerApp_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7400,6 +7727,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7445,9 +7775,9 @@ end {
<#
.Synopsis
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Description
-create the AuthConfig for a Container App.
+Create the AuthConfig for a Container App.
.Example
$identity = New-AzContainerAppIdentityProviderObject -RegistrationAppId xxxxxx@xxx.com -RegistrationAppSecretSettingName redis-config
@@ -7818,6 +8148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7843,8 +8182,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppAuthConfig_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7858,6 +8195,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7903,9 +8243,9 @@ end {
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -8119,6 +8459,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8144,8 +8493,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8159,6 +8506,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8204,9 +8554,9 @@ end {
<#
.Synopsis
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Description
-create a Dapr Component in a connected environment.
+Create a Dapr Component in a connected environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -8464,6 +8814,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8489,8 +8848,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8504,6 +8861,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8549,9 +8909,9 @@ end {
<#
.Synopsis
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Description
-create storage for a connectedEnvironment.
+Create storage for a connectedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -8763,6 +9123,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8788,8 +9157,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8803,6 +9170,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8848,9 +9218,9 @@ end {
<#
.Synopsis
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Description
-create an connectedEnvironment.
+Create an connectedEnvironment.
.Example
New-AzContainerAppConnectedEnv -Name azps-connectedenv -ResourceGroupName azps_test_group_app -Location eastus -ExtendedLocationName "/subscriptions/{subId}/resourceGroups/azps_test_group_app/providers/Microsoft.ExtendedLocation/customLocations/my-custom-location" -ExtendedLocationType CustomLocation
@@ -9069,6 +9439,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -9093,8 +9472,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppConnectedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -9108,6 +9485,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -9153,9 +9533,9 @@ end {
<#
.Synopsis
-create a Managed Certificate.
+Create a Managed Certificate.
.Description
-create a Managed Certificate.
+Create a Managed Certificate.
.Example
New-AzContainerAppManagedCert -EnvName azps-env -Name azps-managedcert -ResourceGroupName azps_test_group_app -Location eastus -DomainControlValidation TXT -SubjectName "mycertweb.com"
@@ -9377,6 +9757,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -9402,8 +9791,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -9417,6 +9804,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -9462,9 +9852,9 @@ end {
<#
.Synopsis
-create a Certificate.
+Create a Certificate.
.Description
-create a Certificate.
+Create a Certificate.
.Example
New-SelfSignedCertificate -DnsName "www.fabrikam.com", "www.contoso.com" -CertStoreLocation "cert:\LocalMachine\My"
Get-ChildItem -Path cert:\LocalMachine\My
@@ -9678,6 +10068,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -9703,8 +10102,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvCert_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -9718,6 +10115,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -9763,9 +10163,9 @@ end {
<#
.Synopsis
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Description
-create a Dapr Component in a Managed Environment.
+Create a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -10023,6 +10423,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -10048,8 +10457,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvDapr_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -10063,6 +10470,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -10108,9 +10518,9 @@ end {
<#
.Synopsis
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Description
-create storage for a managedEnvironment.
+Create storage for a managedEnvironment.
.Example
New-AzStorageAccount -ResourceGroupName azps_test_group_app -AccountName azpstestsa -Location eastus -SkuName Standard_GRS
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -10322,6 +10732,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -10347,8 +10766,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnvStorage_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -10362,6 +10779,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -10407,9 +10827,9 @@ end {
<#
.Synopsis
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Description
-create a Managed Environment used to host container apps.
+Create a Managed Environment used to host container apps.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location canadacentral -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -10722,6 +11142,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -10746,8 +11175,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppManagedEnv_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -10761,6 +11188,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -10806,9 +11236,9 @@ end {
<#
.Synopsis
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Description
-create the SourceControl for a Container App.
+Create the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -11136,6 +11566,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11161,8 +11600,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppSourceControl_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11176,6 +11613,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -11393,6 +11833,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11416,8 +11865,6 @@ begin {
DeleteViaIdentityContainerApp = 'Az.App.private\Remove-AzContainerAppAuthConfig_DeleteViaIdentityContainerApp';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11431,6 +11878,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -11648,6 +12098,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11671,8 +12130,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11686,6 +12143,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -11743,7 +12203,7 @@ Remove-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentInputObject $connecte
.Example
$connectedenvdapr = Get-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentName azps-connectedenv -ResourceGroupName azps_test_group_app -Name azps-connectedenvdapr
-Remove-AzContainerAppConnectedEnvDapr -InpitObject $connectedenvdapr
+Remove-AzContainerAppConnectedEnvDapr -InputObject $connectedenvdapr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity
@@ -11903,6 +12363,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -11926,8 +12395,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -11941,6 +12408,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12158,6 +12628,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12181,8 +12660,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12196,6 +12673,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12387,6 +12867,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12409,8 +12898,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppConnectedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12424,6 +12911,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12615,6 +13105,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12637,8 +13136,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppJob_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12652,6 +13149,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -12865,6 +13365,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -12888,8 +13397,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -12903,6 +13410,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13120,6 +13630,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13143,8 +13662,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13158,6 +13675,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13375,6 +13895,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13398,8 +13927,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13413,6 +13940,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13630,6 +14160,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13653,8 +14192,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13668,6 +14205,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -13860,6 +14400,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -13882,8 +14431,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppManagedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -13897,6 +14444,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14088,6 +14638,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14110,8 +14669,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerApp_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14125,6 +14682,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14337,6 +14897,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14360,8 +14929,6 @@ begin {
RestartViaIdentityContainerApp = 'Az.App.private\Restart-AzContainerAppRevision_RestartViaIdentityContainerApp';
}
if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14375,6 +14942,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14643,6 +15213,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14669,8 +15248,6 @@ begin {
StartViaJsonString = 'Az.App.private\Start-AzContainerAppJob_StartViaJsonString';
}
if (('Start', 'StartExpanded', 'StartViaJsonFilePath', 'StartViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14684,6 +15261,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -14866,6 +15446,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -14888,8 +15477,6 @@ begin {
StartViaIdentity = 'Az.App.private\Start-AzContainerApp_StartViaIdentity';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -14903,6 +15490,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15124,6 +15714,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15147,8 +15746,6 @@ begin {
StopViaIdentityJob = 'Az.App.private\Stop-AzContainerAppJobExecution_StopViaIdentityJob';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15162,6 +15759,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15344,6 +15944,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15366,8 +15975,6 @@ begin {
StopViaIdentity = 'Az.App.private\Stop-AzContainerApp_StopViaIdentity';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15381,6 +15988,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15558,6 +16168,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15582,8 +16201,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppConnectedEnvNameAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15597,6 +16214,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15774,6 +16394,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -15798,8 +16427,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppNamespaceAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -15813,6 +16440,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -15858,9 +16488,9 @@ end {
<#
.Synopsis
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Description
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Example
Update-AzContainerAppAuthConfig -Name current -ContainerAppName azps-containerapp-2 -ResourceGroupName azps_test_group_app -PlatformEnabled -GlobalValidationUnauthenticatedClientAction RedirectToLoginPage -IdentityProvider $identity
.Example
@@ -16181,6 +16811,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -16204,8 +16843,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppAuthConfig_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -16219,6 +16856,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -16456,6 +17096,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -16481,8 +17130,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppConnectedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -16496,6 +17143,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -16541,9 +17191,9 @@ end {
<#
.Synopsis
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Description
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Example
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
$daprMetaData = New-AzContainerAppDaprMetadataObject -Name "masterkey" -Value "masterkey"
@@ -16776,6 +17426,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -16799,8 +17458,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvDapr_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -16814,6 +17471,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -16859,9 +17519,9 @@ end {
<#
.Synopsis
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Description
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -17054,6 +17714,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17077,8 +17746,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvStorage_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17092,6 +17759,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -17326,6 +17996,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17351,8 +18030,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17366,6 +18043,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -17608,6 +18288,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17633,8 +18322,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17648,6 +18335,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -17693,9 +18383,9 @@ end {
<#
.Synopsis
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Description
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -17931,6 +18621,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -17954,8 +18653,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvDapr_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -17969,6 +18666,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -18014,9 +18714,9 @@ end {
<#
.Synopsis
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Description
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -18209,6 +18909,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -18232,8 +18941,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvStorage_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -18247,6 +18954,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -18529,6 +19239,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -18553,8 +19272,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnv_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -18568,6 +19285,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -18613,9 +19333,9 @@ end {
<#
.Synopsis
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Description
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -18903,6 +19623,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -18926,8 +19655,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppSourceControl_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -18941,6 +19668,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -19478,6 +20208,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -19502,8 +20241,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerApp';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -19517,6 +20254,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -19817,6 +20557,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -19844,6 +20587,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -19935,6 +20681,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -19962,6 +20711,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20049,6 +20801,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20076,6 +20831,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20163,6 +20921,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20190,6 +20951,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20531,6 +21295,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20558,6 +21325,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20691,6 +21461,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20718,6 +21491,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -20814,6 +21590,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -20841,6 +21620,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21310,6 +22092,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21334,8 +22125,6 @@ begin {
CreateViaIdentityExpanded = 'Az.App.custom\New-AzContainerAppJob';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -21349,6 +22138,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21471,6 +22263,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21498,6 +22293,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21601,6 +22399,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21628,6 +22429,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21709,6 +22513,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21736,6 +22543,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -21931,6 +22741,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -21958,6 +22771,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22053,6 +22869,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22080,6 +22899,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22161,6 +22983,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22188,6 +23013,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22353,6 +23181,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22380,6 +23211,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22473,6 +23307,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22500,6 +23337,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22582,6 +23422,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22609,6 +23452,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22690,6 +23536,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22717,6 +23566,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22877,6 +23729,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -22904,6 +23759,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -22997,6 +23855,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23024,6 +23885,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23112,6 +23976,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23139,6 +24006,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23251,6 +24121,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23278,6 +24151,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23371,6 +24247,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23398,6 +24277,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -23876,6 +24758,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -23900,8 +24791,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerApp';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -23915,6 +24804,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -24385,6 +25277,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -24409,8 +25310,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerAppJob';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -24424,6 +25323,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1
index f5239c002745..3c45bfe20d60 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerApp.ps1
@@ -162,6 +162,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -184,8 +193,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerApp_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -199,6 +206,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1
index 085f359622f0..ee3534936b53 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppAuthConfig.ps1
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +220,6 @@ begin {
DeleteViaIdentityContainerApp = 'Az.App.private\Remove-AzContainerAppAuthConfig_DeleteViaIdentityContainerApp';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1
index 5c13ac7ba4bf..9a78939295fe 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnv.ps1
@@ -162,6 +162,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -184,8 +193,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppConnectedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -199,6 +206,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1
index f50b61a73084..3a78b7eee93c 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvCert.ps1
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +220,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvCert_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1
index cfc278d5b006..3d7e88249cd7 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvDapr.ps1
@@ -28,7 +28,7 @@ Remove-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentInputObject $connecte
.Example
$connectedenvdapr = Get-AzContainerAppConnectedEnvDapr -ConnectedEnvironmentName azps-connectedenv -ResourceGroupName azps_test_group_app -Name azps-connectedenvdapr
-Remove-AzContainerAppConnectedEnvDapr -InpitObject $connectedenvdapr
+Remove-AzContainerAppConnectedEnvDapr -InputObject $connectedenvdapr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +220,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvDapr_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1
index 0afc5af6dde2..5e5aef96bc86 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppConnectedEnvStorage.ps1
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +220,6 @@ begin {
DeleteViaIdentityConnectedEnvironment = 'Az.App.private\Remove-AzContainerAppConnectedEnvStorage_DeleteViaIdentityConnectedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1
index 8bf8b150c09c..6616abb4a256 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppJob.ps1
@@ -162,6 +162,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -184,8 +193,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppJob_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -199,6 +206,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1
index 660f7441fa84..b54e22883d14 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedCert.ps1
@@ -184,6 +184,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -207,8 +216,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -222,6 +229,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1
index 34a999719dd5..cb7da41ccda9 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnv.ps1
@@ -163,6 +163,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -185,8 +194,6 @@ begin {
DeleteViaIdentity = 'Az.App.private\Remove-AzContainerAppManagedEnv_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -200,6 +207,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1
index ec12d6e468c9..35613494ac06 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvCert.ps1
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +220,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvCert_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1
index 96b131b1a4b9..4f4ffa358a1d 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvDapr.ps1
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +220,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvDapr_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1
index a4302f2598e7..7d7fb9fc8b7b 100644
--- a/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Remove-AzContainerAppManagedEnvStorage.ps1
@@ -188,6 +188,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -211,8 +220,6 @@ begin {
DeleteViaIdentityManagedEnvironment = 'Az.App.private\Remove-AzContainerAppManagedEnvStorage_DeleteViaIdentityManagedEnvironment';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -226,6 +233,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1 b/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1
index 973328b85649..7a9c6f0eb215 100644
--- a/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1
+++ b/generated/App/App.Autorest/exports/Restart-AzContainerAppRevision.ps1
@@ -183,6 +183,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -206,8 +215,6 @@ begin {
RestartViaIdentityContainerApp = 'Az.App.private\Restart-AzContainerAppRevision_RestartViaIdentityContainerApp';
}
if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -221,6 +228,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1
index cdb6dcced7ed..14d1f5f3f2fc 100644
--- a/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Start-AzContainerApp.ps1
@@ -153,6 +153,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -175,8 +184,6 @@ begin {
StartViaIdentity = 'Az.App.private\Start-AzContainerApp_StartViaIdentity';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -190,6 +197,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1
index b110a1f9ad24..45044635518c 100644
--- a/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Start-AzContainerAppJob.ps1
@@ -239,6 +239,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -265,8 +274,6 @@ begin {
StartViaJsonString = 'Az.App.private\Start-AzContainerAppJob_StartViaJsonString';
}
if (('Start', 'StartExpanded', 'StartViaJsonFilePath', 'StartViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -280,6 +287,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1
index dd3d49e9a744..ce276aac5ea3 100644
--- a/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Stop-AzContainerApp.ps1
@@ -153,6 +153,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -175,8 +184,6 @@ begin {
StopViaIdentity = 'Az.App.private\Stop-AzContainerApp_StopViaIdentity';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -190,6 +197,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1 b/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1
index f27a4b3e3913..7d7d7a5c6e7f 100644
--- a/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1
+++ b/generated/App/App.Autorest/exports/Stop-AzContainerAppJobExecution.ps1
@@ -192,6 +192,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -215,8 +224,6 @@ begin {
StopViaIdentityJob = 'Az.App.private\Stop-AzContainerAppJobExecution_StopViaIdentityJob';
}
if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -230,6 +237,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1 b/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1
index 977fa2a30689..1b389c1058af 100644
--- a/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1
+++ b/generated/App/App.Autorest/exports/Test-AzContainerAppConnectedEnvNameAvailability.ps1
@@ -148,6 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +181,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppConnectedEnvNameAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1 b/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1
index a8ed54aacd26..e698ada82d6f 100644
--- a/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1
+++ b/generated/App/App.Autorest/exports/Test-AzContainerAppNamespaceAvailability.ps1
@@ -148,6 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +181,6 @@ begin {
CheckViaJsonString = 'Az.App.private\Test-AzContainerAppNamespaceAvailability_CheckViaJsonString';
}
if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1
index 12a2dc1dc873..93a4866b3aef 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerApp.ps1
@@ -449,6 +449,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -473,8 +482,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerApp';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -488,6 +495,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1
index 2fdfd6f675a3..f40dd1d075b5 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppAuthConfig.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Description
-update the AuthConfig for a Container App.
+Update the AuthConfig for a Container App.
.Example
Update-AzContainerAppAuthConfig -Name current -ContainerAppName azps-containerapp-2 -ResourceGroupName azps_test_group_app -PlatformEnabled -GlobalValidationUnauthenticatedClientAction RedirectToLoginPage -IdentityProvider $identity
.Example
@@ -339,6 +339,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -362,8 +371,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppAuthConfig_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -377,6 +384,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1
index bc0317d5ae51..f621120f268d 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvCert.ps1
@@ -208,6 +208,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -233,8 +242,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppConnectedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -248,6 +255,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1
index 24169b330cf1..227c092c9193 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Description
-update a Dapr Component in a connected environment.
+Update a Dapr Component in a connected environment.
.Example
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
$daprMetaData = New-AzContainerAppDaprMetadataObject -Name "masterkey" -Value "masterkey"
@@ -251,6 +251,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -274,8 +283,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvDapr_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -289,6 +296,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1
index ddc38865fed9..534de97e6d56 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppConnectedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Description
-update storage for a connectedEnvironment.
+Update storage for a connectedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -211,6 +211,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -234,8 +243,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppConnectedEnvStorage_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -249,6 +256,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1
index 71a95305ae89..d31880dc1940 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppJob.ps1
@@ -441,6 +441,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -465,8 +474,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.custom\Update-AzContainerAppJob';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -480,6 +487,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1
index ba36ba90536a..387dcaa01bda 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedCert.ps1
@@ -205,6 +205,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -230,8 +239,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -245,6 +252,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1
index b143e0d4302c..a62111d94675 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnv.ps1
@@ -253,6 +253,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -277,8 +286,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnv_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -292,6 +299,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1
index 06a1c60c5574..317cfd2431bf 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvCert.ps1
@@ -213,6 +213,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -238,8 +247,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppManagedEnvCert_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -253,6 +260,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1
index 7a7bb9d9798a..afd2dca48911 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvDapr.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Description
-update a Dapr Component in a Managed Environment.
+Update a Dapr Component in a Managed Environment.
.Example
$scope = @("container-app-1","container-app-2")
$secretObject = New-AzContainerAppSecretObject -Name "masterkey" -Value "keyvalue"
@@ -254,6 +254,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -277,8 +286,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvDapr_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -292,6 +299,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1
index e1014adb3a10..c6f280eb8981 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppManagedEnvStorage.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Description
-update storage for a managedEnvironment.
+Update storage for a managedEnvironment.
.Example
$storageAccountKey = (Get-AzStorageAccountKey -ResourceGroupName azps_test_group_app -AccountName azpstestsa).Value[0]
@@ -211,6 +211,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -234,8 +243,6 @@ begin {
UpdateViaIdentityManagedEnvironmentExpanded = 'Az.App.private\Update-AzContainerAppManagedEnvStorage_UpdateViaIdentityManagedEnvironmentExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -249,6 +256,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1 b/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1
index 09128a9eacfd..00a61dd8065e 100644
--- a/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1
+++ b/generated/App/App.Autorest/exports/Update-AzContainerAppSourceControl.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Description
-update the SourceControl for a Container App.
+Update the SourceControl for a Container App.
.Example
$AzureClientSecret = ConvertTo-SecureString -String "****" -AsPlainText -Force
$RegistryPassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
@@ -306,6 +306,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -329,8 +338,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppSourceControl_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -344,6 +351,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/generated/api/App.cs b/generated/App/App.Autorest/generated/api/App.cs
index 08f37d275703..67a918128eb3 100644
--- a/generated/App/App.Autorest/generated/api/App.cs
+++ b/generated/App/App.Autorest/generated/api/App.cs
@@ -4983,13 +4983,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -5139,13 +5139,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -7077,13 +7077,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -11462,13 +11462,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -11616,13 +11616,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -11884,13 +11884,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -17921,13 +17921,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -18080,13 +18080,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -18359,13 +18359,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -19395,13 +19395,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -19550,13 +19550,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -19908,13 +19908,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -20063,13 +20063,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -20535,13 +20535,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -20692,13 +20692,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -23162,13 +23162,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -23316,13 +23316,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -23585,13 +23585,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -25668,13 +25668,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -25823,13 +25823,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -26098,13 +26098,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -26461,13 +26461,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -26616,13 +26616,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -27088,13 +27088,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -27245,13 +27245,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -27742,13 +27742,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -27896,13 +27896,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -30365,13 +30365,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -30522,13 +30522,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -30793,13 +30793,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -34521,13 +34521,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
@@ -34678,13 +34678,13 @@ public partial class App
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.App.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.App.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");
diff --git a/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs b/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs
index 51ae7e57ed7e..9c1b105c5f12 100644
--- a/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AuthConfig.cs
@@ -106,46 +106,64 @@ public partial class AuthConfig :
public bool? LoginPreserveUrlFragmentsForLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginPreserveUrlFragmentsForLogin; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginPreserveUrlFragmentsForLogin = value ?? default(bool); }
/// Internal Acessors for GlobalValidation
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGlobalValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.GlobalValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGlobalValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.GlobalValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).GlobalValidation = value ?? null /* model class */; }
/// Internal Acessors for HttpSetting
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSetting = value ?? null /* model class */; }
/// Internal Acessors for HttpSettingForwardProxy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingForwardProxy = value ?? null /* model class */; }
/// Internal Acessors for HttpSettingRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).HttpSettingRoute = value ?? null /* model class */; }
/// Internal Acessors for Login
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Login { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Login { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Login = value ?? null /* model class */; }
/// Internal Acessors for LoginCookieExpiration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginCookieExpiration = value ?? null /* model class */; }
/// Internal Acessors for LoginNonce
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginNonce = value ?? null /* model class */; }
/// Internal Acessors for LoginRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).LoginRoute = value ?? null /* model class */; }
/// Internal Acessors for Platform
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthPlatform Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Platform { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthPlatform Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Platform { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal)Property).Platform = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AuthConfigProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -207,37 +225,37 @@ public partial class AuthConfig :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs b/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs
index fed45c8935ed..1d21afd9a4e6 100644
--- a/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AuthConfigProperties.cs
@@ -117,22 +117,22 @@ public partial class AuthConfigProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettings Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSetting { get => (this._httpSetting = this._httpSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.HttpSettings()); set { {_httpSetting = value;} } }
/// Internal Acessors for HttpSettingForwardProxy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IForwardProxy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingForwardProxy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).ForwardProxy = value ?? null /* model class */; }
/// Internal Acessors for HttpSettingRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.HttpSettingRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IHttpSettingsInternal)HttpSetting).Route = value ?? null /* model class */; }
/// Internal Acessors for Login
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.Login { get => (this._login = this._login ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Login()); set { {_login = value;} } }
/// Internal Acessors for LoginCookieExpiration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICookieExpiration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginCookieExpiration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).CookieExpiration = value ?? null /* model class */; }
/// Internal Acessors for LoginNonce
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.INonce Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginNonce { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Nonce = value ?? null /* model class */; }
/// Internal Acessors for LoginRoute
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginRoutes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.LoginRoute { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginInternal)Login).Route = value ?? null /* model class */; }
/// Internal Acessors for Platform
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthPlatform Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAuthConfigPropertiesInternal.Platform { get => (this._platform = this._platform ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AuthPlatform()); set { {_platform = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs b/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs
index 47c107a006d9..8b08daafb467 100644
--- a/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AvailableWorkloadProfile.cs
@@ -62,16 +62,34 @@ public partial class AvailableWorkloadProfile :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAvailableWorkloadProfileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAvailableWorkloadProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AvailableWorkloadProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -91,37 +109,37 @@ public partial class AvailableWorkloadProfile :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs
index c374f5126192..d5600145a528 100644
--- a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectory.cs
@@ -75,7 +75,7 @@ public partial class AzureActiveDirectory :
public System.Collections.Generic.List LoginParameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLoginInternal)Login).LoginParameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLoginInternal)Login).LoginParameter = value ?? null /* arrayOf */; }
/// Internal Acessors for DefaultAuthorizationPolicyAllowedPrincipal
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicyAllowedPrincipal = value ?? null /* model class */; }
/// Internal Acessors for Login
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.Login { get => (this._login = this._login ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureActiveDirectoryLogin()); set { {_login = value;} } }
@@ -87,10 +87,10 @@ public partial class AzureActiveDirectory :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.Validation { get => (this._validation = this._validation ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureActiveDirectoryValidation()); set { {_validation = value;} } }
/// Internal Acessors for ValidationDefaultAuthorizationPolicy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).DefaultAuthorizationPolicy = value ?? null /* model class */; }
/// Internal Acessors for ValidationJwtClaimCheck
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal)Validation).JwtClaimCheck = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryRegistration _registration;
diff --git a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs
index 29243c1b7460..5b92071bdfae 100644
--- a/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs
+++ b/generated/App/App.Autorest/generated/api/Models/AzureActiveDirectoryValidation.cs
@@ -62,7 +62,7 @@ public partial class AzureActiveDirectoryValidation :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.DefaultAuthorizationPolicy { get => (this._defaultAuthorizationPolicy = this._defaultAuthorizationPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DefaultAuthorizationPolicy()); set { {_defaultAuthorizationPolicy = value;} } }
/// Internal Acessors for DefaultAuthorizationPolicyAllowedPrincipal
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicyInternal)DefaultAuthorizationPolicy).AllowedPrincipal = value ?? null /* model class */; }
/// Internal Acessors for JwtClaimCheck
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidationInternal.JwtClaimCheck { get => (this._jwtClaimCheck = this._jwtClaimCheck ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JwtClaimChecks()); set { {_jwtClaimCheck = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs b/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs
index a35716b9bb0b..efa4bf14d6fc 100644
--- a/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs
+++ b/generated/App/App.Autorest/generated/api/Models/BaseContainer.cs
@@ -45,7 +45,7 @@ public partial class BaseContainer :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => (this._resource = this._resource ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerResources()); set { {_resource = value;} } }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value ?? null; }
/// Backing field for property.
private string _name;
diff --git a/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs b/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs
index 7e376de7e343..f579e5b49ef4 100644
--- a/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs
+++ b/generated/App/App.Autorest/generated/api/Models/BillingMeter.cs
@@ -47,16 +47,34 @@ public partial class BillingMeter :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBillingMeterProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBillingMeterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.BillingMeterProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -73,31 +91,31 @@ public partial class BillingMeter :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Certificate.cs b/generated/App/App.Autorest/generated/api/Models/Certificate.cs
index 5e6956139c41..20130a623499 100644
--- a/generated/App/App.Autorest/generated/api/Models/Certificate.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Certificate.cs
@@ -45,49 +45,67 @@ public partial class Certificate :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 1)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for ExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for IssueDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.IssueDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.IssueDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).IssueDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for Issuer
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Issuer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Issuer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Issuer = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CertificateProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for PublicKeyHash
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.PublicKeyHash { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.PublicKeyHash { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).PublicKeyHash = value ?? null; }
/// Internal Acessors for SubjectAlternativeName
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectAlternativeName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectAlternativeName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectAlternativeName = value ?? null /* arrayOf */; }
/// Internal Acessors for SubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.SubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).SubjectName = value ?? null; }
/// Internal Acessors for Thumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Thumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Thumbprint = value ?? null; }
/// Internal Acessors for Valid
- bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Valid { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificateInternal.Valid { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICertificatePropertiesInternal)Property).Valid = value ?? default(bool); }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -137,37 +155,37 @@ public partial class Certificate :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/Configuration.cs b/generated/App/App.Autorest/generated/api/Models/Configuration.cs
index a7a19b224e2a..61aa2499d6b2 100644
--- a/generated/App/App.Autorest/generated/api/Models/Configuration.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Configuration.cs
@@ -166,13 +166,13 @@ public partial class Configuration :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngress Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.Ingress { get => (this._ingress = this._ingress ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Ingress()); set { {_ingress = value;} } }
/// Internal Acessors for IngressCorsPolicy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICorsPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressCorsPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICorsPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressCorsPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).CorsPolicy = value ?? null /* model class */; }
/// Internal Acessors for IngressFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).Fqdn = value ?? null; }
/// Internal Acessors for IngressStickySession
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressStickySessions Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressStickySession { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressStickySessions Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.IngressStickySession { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIngressInternal)Ingress).StickySession = value ?? null /* model class */; }
/// Internal Acessors for Service
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IService Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfigurationInternal.Service { get => (this._service = this._service ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Service()); set { {_service = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs
index 0e4d3f28cb7a..aa067e5b4d35 100644
--- a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironment.cs
@@ -100,28 +100,28 @@ public partial class ConnectedEnvironment :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for CustomDomainConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value ?? null; }
/// Internal Acessors for DefaultDomain
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DefaultDomain = value ?? null; }
/// Internal Acessors for DeploymentError
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).DeploymentError = value ?? null; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
@@ -130,19 +130,37 @@ public partial class ConnectedEnvironment :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ConnectedEnvironmentProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -177,37 +195,37 @@ public partial class ConnectedEnvironment :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs
index d7881042ea2d..53ff5e380215 100644
--- a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentProperties.cs
@@ -75,16 +75,16 @@ public partial class ConnectedEnvironmentProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfiguration { get => (this._customDomainConfiguration = this._customDomainConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomDomainConfiguration()); set { {_customDomainConfiguration = value;} } }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value ?? null; }
/// Internal Acessors for DefaultDomain
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentPropertiesInternal.DefaultDomain { get => this._defaultDomain; set { {_defaultDomain = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs
index d67162c1f4aa..73c86d0b61e6 100644
--- a/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ConnectedEnvironmentStorage.cs
@@ -46,22 +46,40 @@ public partial class ConnectedEnvironmentStorage :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for AzureFile
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStoragePropertiesInternal)Property).AzureFile = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConnectedEnvironmentStorageInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ConnectedEnvironmentStorageProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -86,37 +104,37 @@ public partial class ConnectedEnvironmentStorage :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Container.cs b/generated/App/App.Autorest/generated/api/Models/Container.cs
index 3d9a99ff0c8c..7f4d0496a932 100644
--- a/generated/App/App.Autorest/generated/api/Models/Container.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Container.cs
@@ -35,10 +35,10 @@ public partial class Container :
public string Image { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image = value ?? null; }
/// Internal Acessors for Resource
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value ?? null /* model class */; }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value ?? null; }
/// Custom container name.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs b/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs
index da52bfaafcab..4d979334d72e 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerApp.cs
@@ -122,7 +122,7 @@ public partial class ContainerApp :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Backing field for property.
private string _managedBy;
@@ -142,10 +142,10 @@ public partial class ContainerApp :
public string ManagedEnvironmentId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ManagedEnvironmentId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ManagedEnvironmentId = value ?? null; }
/// Internal Acessors for CustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.CustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.CustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).CustomDomainVerificationId = value ?? null; }
/// Internal Acessors for EventStreamEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).EventStreamEndpoint = value ?? null; }
/// Internal Acessors for ExtendedLocation
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ExtendedLocation()); set { {_extendedLocation = value;} } }
@@ -154,46 +154,64 @@ public partial class ContainerApp :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LatestReadyRevisionName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestReadyRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestReadyRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestReadyRevisionName = value ?? null; }
/// Internal Acessors for LatestRevisionFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionFqdn = value ?? null; }
/// Internal Acessors for LatestRevisionName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.LatestRevisionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).LatestRevisionName = value ?? null; }
/// Internal Acessors for OutboundIPAddress
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).OutboundIPAddress = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).Template = value ?? null /* model class */; }
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal)Property).TemplateScale = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -243,37 +261,37 @@ public partial class ContainerApp :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs b/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs
index 35251a41f43c..5e7d1cba9214 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerAppAuthToken.cs
@@ -33,28 +33,46 @@ public partial class ContainerAppAuthToken :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Expire
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Expire = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppAuthTokenProperties()); set { {_property = value;} } }
/// Internal Acessors for Token
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppAuthTokenPropertiesInternal)Property).Token = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -79,37 +97,37 @@ public partial class ContainerAppAuthToken :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs
index d287c213aca9..6849c38a8eaa 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerAppProbe.PowerShell.cs
@@ -133,7 +133,7 @@ internal ContainerAppProbe(global::System.Collections.IDictionary content)
}
if (content.Contains("HttpGetPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int?) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("TcpSocketHost"))
{
@@ -141,7 +141,7 @@ internal ContainerAppProbe(global::System.Collections.IDictionary content)
}
if (content.Contains("TcpSocketPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int?) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
AfterDeserializeDictionary(content);
}
@@ -214,7 +214,7 @@ internal ContainerAppProbe(global::System.Management.Automation.PSObject content
}
if (content.Contains("HttpGetPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort = (int?) content.GetValueForProperty("HttpGetPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).HttpGetPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("TcpSocketHost"))
{
@@ -222,7 +222,7 @@ internal ContainerAppProbe(global::System.Management.Automation.PSObject content
}
if (content.Contains("TcpSocketPort"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort = (int?) content.GetValueForProperty("TcpSocketPort",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppProbeInternal)this).TcpSocketPort, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
AfterDeserializePSObject(content);
}
diff --git a/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs b/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs
index 84d6cc0cce9b..e9cee23d9f60 100644
--- a/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ContainerAppProperties.cs
@@ -94,7 +94,7 @@ public partial class ContainerAppProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal.Template { get => (this._template = this._template ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Template()); set { {_template = value;} } }
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerAppPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value ?? null /* model class */; }
/// Backing field for property.
private System.Collections.Generic.List _outboundIPAddress;
diff --git a/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs b/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs
index f7c5d6c897fc..5629928d2f2f 100644
--- a/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs
+++ b/generated/App/App.Autorest/generated/api/Models/CustomHostnameAnalysisResult.cs
@@ -72,7 +72,7 @@ public partial class CustomHostnameAnalysisResult :
/// Details or the error
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List CustomDomainVerificationFailureInfoDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List CustomDomainVerificationFailureInfoDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail; }
/// Detailed error description and debugging information.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -124,13 +124,16 @@ public partial class CustomHostnameAnalysisResult :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfo { get => (this._customDomainVerificationFailureInfo = this._customDomainVerificationFailureInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo()); set { {_customDomainVerificationFailureInfo = value;} } }
/// Internal Acessors for CustomDomainVerificationFailureInfoCode
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Code = value ?? null; }
+
+ /// Internal Acessors for CustomDomainVerificationFailureInfoDetail
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for CustomDomainVerificationFailureInfoMessage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Message = value ?? null; }
/// Internal Acessors for CustomDomainVerificationFailureInfoTarget
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationFailureInfoTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultCustomDomainVerificationFailureInfoInternal)CustomDomainVerificationFailureInfo).Target = value ?? null; }
/// Internal Acessors for CustomDomainVerificationTest
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomHostnameAnalysisResultInternal.CustomDomainVerificationTest { get => this._customDomainVerificationTest; set { {_customDomainVerificationTest = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs b/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs
index 79f0ed1a44d1..94864dc94c19 100644
--- a/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs
+++ b/generated/App/App.Autorest/generated/api/Models/CustomOpenIdConnectProvider.cs
@@ -56,10 +56,10 @@ public partial class CustomOpenIdConnectProvider :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.Registration { get => (this._registration = this._registration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.OpenIdConnectRegistration()); set { {_registration = value;} } }
/// Internal Acessors for RegistrationClientCredential
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectClientCredential Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationClientCredential { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectClientCredential Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationClientCredential { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).ClientCredential = value ?? null /* model class */; }
/// Internal Acessors for RegistrationOpenIdConnectConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationOpenIdConnectConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomOpenIdConnectProviderInternal.RegistrationOpenIdConnectConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IOpenIdConnectRegistrationInternal)Registration).OpenIdConnectConfiguration = value ?? null /* model class */; }
/// The endpoint to be used to make an authorization request.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs b/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs
index 9ec8d498d15e..1259966d541a 100644
--- a/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs
+++ b/generated/App/App.Autorest/generated/api/Models/DaprComponent.cs
@@ -49,16 +49,34 @@ public partial class DaprComponent :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprComponentProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprComponentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprComponentProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -98,37 +116,37 @@ public partial class DaprComponent :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs b/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs
index e3840519fcc4..86b34b0d9518 100644
--- a/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs
+++ b/generated/App/App.Autorest/generated/api/Models/DefaultErrorResponse.cs
@@ -19,7 +19,7 @@ public partial class DefaultErrorResponse :
/// Details or the error
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseError _error;
@@ -37,19 +37,22 @@ public partial class DefaultErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Code = value ?? null; }
+
+ /// Internal Acessors for Detail
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseError Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DefaultErrorResponseError()); set { {_error = value;} } }
/// Internal Acessors for Innererror
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Innererror { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Innererror { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Innererror = value ?? null; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultErrorResponseErrorInternal)Error).Target = value ?? null; }
/// Detailed error description and debugging information.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs b/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs
index 00e7b1a95dc7..81ee63039dbe 100644
--- a/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Diagnostics.cs
@@ -86,49 +86,67 @@ public partial class Diagnostics :
public string MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType; }
/// Internal Acessors for DataProviderMetadata
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticDataProviderMetadata Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.DataProviderMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticDataProviderMetadata Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.DataProviderMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).DataProviderMetadata = value ?? null /* model class */; }
/// Internal Acessors for Metadata
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinition Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Metadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinition Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Metadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Metadata = value ?? null /* model class */; }
/// Internal Acessors for MetadataAuthor
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataAuthor = value ?? null; }
/// Internal Acessors for MetadataCategory
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataCategory = value ?? null; }
/// Internal Acessors for MetadataDescription
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataDescription = value ?? null; }
/// Internal Acessors for MetadataId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataId = value ?? null; }
/// Internal Acessors for MetadataName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataName = value ?? null; }
/// Internal Acessors for MetadataScore
- float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataScore = value ?? default(float); }
/// Internal Acessors for MetadataType
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).MetadataType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DiagnosticsProperties()); set { {_property = value;} } }
/// Internal Acessors for Status
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsStatus Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsStatus Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal)Property).Status = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -163,37 +181,37 @@ public partial class Diagnostics :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs b/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs
index e6b4d311f88d..ce4c0e5e5e7f 100644
--- a/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/DiagnosticsProperties.cs
@@ -85,25 +85,25 @@ public partial class DiagnosticsProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinition Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.Metadata { get => (this._metadata = this._metadata ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DiagnosticsDefinition()); set { {_metadata = value;} } }
/// Internal Acessors for MetadataAuthor
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataAuthor { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Author = value ?? null; }
/// Internal Acessors for MetadataCategory
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Category = value ?? null; }
/// Internal Acessors for MetadataDescription
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Description = value ?? null; }
/// Internal Acessors for MetadataId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Id = value ?? null; }
/// Internal Acessors for MetadataName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Name = value ?? null; }
/// Internal Acessors for MetadataScore
- float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Score = value ?? default(float); }
/// Internal Acessors for MetadataType
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.MetadataType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsDefinitionInternal)Metadata).Type = value ?? null; }
/// Internal Acessors for Status
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsStatus Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDiagnosticsPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DiagnosticsStatus()); set { {_status = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs b/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs
index cec8ce53f265..191479097568 100644
--- a/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs
+++ b/generated/App/App.Autorest/generated/api/Models/EnvironmentAuthToken.cs
@@ -33,28 +33,46 @@ public partial class EnvironmentAuthToken :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Expire
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Expire { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Expire = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentAuthTokenProperties()); set { {_property = value;} } }
/// Internal Acessors for Token
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenInternal.Token { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IEnvironmentAuthTokenPropertiesInternal)Property).Token = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -79,37 +97,37 @@ public partial class EnvironmentAuthToken :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs b/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs
index df1c7b6a4017..8c7989ec0819 100644
--- a/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs b/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs
index d55ddf246e83..06b0b48733af 100644
--- a/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs
+++ b/generated/App/App.Autorest/generated/api/Models/IdentityProviders.cs
@@ -225,73 +225,73 @@ public partial class IdentityProviders :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IApple Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Apple { get => (this._apple = this._apple ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Apple()); set { {_apple = value;} } }
/// Internal Acessors for AppleLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Login = value ?? null /* model class */; }
/// Internal Acessors for AppleRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AppleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppleInternal)Apple).Registration = value ?? null /* model class */; }
/// Internal Acessors for AzureActiveDirectory
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectory Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectory { get => (this._azureActiveDirectory = this._azureActiveDirectory ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureActiveDirectory()); set { {_azureActiveDirectory = value;} } }
/// Internal Acessors for AzureActiveDirectoryLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryLogin Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Login = value ?? null /* model class */; }
/// Internal Acessors for AzureActiveDirectoryRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Registration = value ?? null /* model class */; }
/// Internal Acessors for AzureActiveDirectoryValidation
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureActiveDirectoryValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).Validation = value ?? null /* model class */; }
/// Internal Acessors for AzureStaticWebApp
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebApps Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureStaticWebApp { get => (this._azureStaticWebApp = this._azureStaticWebApp ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AzureStaticWebApps()); set { {_azureStaticWebApp = value;} } }
/// Internal Acessors for AzureStaticWebAppRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureStaticWebAppRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.AzureStaticWebAppRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureStaticWebAppsInternal)AzureStaticWebApp).Registration = value ?? null /* model class */; }
/// Internal Acessors for DefaultAuthorizationPolicyAllowedPrincipal
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedPrincipals Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.DefaultAuthorizationPolicyAllowedPrincipal { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).DefaultAuthorizationPolicyAllowedPrincipal = value ?? null /* model class */; }
/// Internal Acessors for Facebook
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebook Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Facebook { get => (this._facebook = this._facebook ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Facebook()); set { {_facebook = value;} } }
/// Internal Acessors for FacebookLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Login = value ?? null /* model class */; }
/// Internal Acessors for FacebookRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.FacebookRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IFacebookInternal)Facebook).Registration = value ?? null /* model class */; }
/// Internal Acessors for GitHub
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHub Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHub { get => (this._gitHub = this._gitHub ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.GitHub()); set { {_gitHub = value;} } }
/// Internal Acessors for GitHubLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Login = value ?? null /* model class */; }
/// Internal Acessors for GitHubRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GitHubRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGitHubInternal)GitHub).Registration = value ?? null /* model class */; }
/// Internal Acessors for Google
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogle Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Google { get => (this._google = this._google ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Google()); set { {_google = value;} } }
/// Internal Acessors for GoogleLogin
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILoginScopes Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Login = value ?? null /* model class */; }
/// Internal Acessors for GoogleRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IClientRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Registration = value ?? null /* model class */; }
/// Internal Acessors for GoogleValidation
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedAudiencesValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAllowedAudiencesValidation Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.GoogleValidation { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGoogleInternal)Google).Validation = value ?? null /* model class */; }
/// Internal Acessors for Twitter
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitter Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.Twitter { get => (this._twitter = this._twitter ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Twitter()); set { {_twitter = value;} } }
/// Internal Acessors for TwitterRegistration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.TwitterRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterRegistration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.TwitterRegistration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitterInternal)Twitter).Registration = value ?? null /* model class */; }
/// Internal Acessors for ValidationDefaultAuthorizationPolicy
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDefaultAuthorizationPolicy Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationDefaultAuthorizationPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationDefaultAuthorizationPolicy = value ?? null /* model class */; }
/// Internal Acessors for ValidationJwtClaimCheck
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJwtClaimChecks Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIdentityProvidersInternal.ValidationJwtClaimCheck { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureActiveDirectoryInternal)AzureActiveDirectory).ValidationJwtClaimCheck = value ?? null /* model class */; }
/// The App ID of the app used for login.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/InitContainer.cs b/generated/App/App.Autorest/generated/api/Models/InitContainer.cs
index edf0f33e6b29..9507b9cbbe04 100644
--- a/generated/App/App.Autorest/generated/api/Models/InitContainer.cs
+++ b/generated/App/App.Autorest/generated/api/Models/InitContainer.cs
@@ -35,10 +35,10 @@ public partial class InitContainer :
public string Image { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Image = value ?? null; }
/// Internal Acessors for Resource
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.Resource { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).Resource = value ?? null /* model class */; }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IBaseContainerInternal)__baseContainer).ResourceEphemeralStorage = value ?? null; }
/// Custom container name.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs
index ed35008353a3..ed9ed5bb9bbc 100644
--- a/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Job.PowerShell.cs
@@ -231,7 +231,7 @@ internal Job(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -440,7 +440,7 @@ internal Job(global::System.Management.Automation.PSObject content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/Job.cs b/generated/App/App.Autorest/generated/api/Models/Job.cs
index d2a3481b2d53..99d10ebc31c9 100644
--- a/generated/App/App.Autorest/generated/api/Models/Job.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Job.cs
@@ -116,7 +116,7 @@ public partial class Job :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Number of parallel replicas of a job that can run at a given time.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -129,55 +129,73 @@ public partial class Job :
public int? ManualTriggerConfigReplicaCompletionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ManualTriggerConfigReplicaCompletionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ManualTriggerConfigReplicaCompletionCount = value ?? default(int); }
/// Internal Acessors for Configuration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Configuration = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationEventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ConfigurationScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventStreamEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventStreamEndpoint = value ?? null; }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for OutboundIPAddress
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.OutboundIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).OutboundIPAddress = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)Property).Template = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -247,37 +265,37 @@ public partial class Job :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs b/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs
index 4cf477fc826b..3ca3476a55a2 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobConfiguration.cs
@@ -50,7 +50,7 @@ public partial class JobConfiguration :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.EventTriggerConfig { get => (this._eventTriggerConfig = this._eventTriggerConfig ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfigurationEventTriggerConfig()); set { {_eventTriggerConfig = value;} } }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfigInternal)EventTriggerConfig).Scale = value ?? null /* model class */; }
/// Internal Acessors for ManualTriggerConfig
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal.ManualTriggerConfig { get => (this._manualTriggerConfig = this._manualTriggerConfig ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfigurationManualTriggerConfig()); set { {_manualTriggerConfig = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs b/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs
index 5e81bab5c021..266df7148d62 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobExecutionContainer.cs
@@ -45,7 +45,7 @@ public partial class JobExecutionContainer :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResources Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobExecutionContainerInternal.Resource { get => (this._resource = this._resource ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerResources()); set { {_resource = value;} } }
/// Internal Acessors for ResourceEphemeralStorage
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobExecutionContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobExecutionContainerInternal.ResourceEphemeralStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerResourcesInternal)Resource).EphemeralStorage = value ?? null; }
/// Backing field for property.
private string _name;
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs
index 5db9a7d5c5db..f5ad82c7eb41 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.PowerShell.cs
@@ -179,7 +179,7 @@ internal JobPatchProperties(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -336,7 +336,7 @@ internal JobPatchProperties(global::System.Management.Automation.PSObject conten
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs
index 54228ac138de..61a6380a1395 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties.cs
@@ -96,34 +96,34 @@ public partial class JobPatchProperties :
public int? ManualTriggerConfigReplicaCompletionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ManualTriggerConfigReplicaCompletionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ManualTriggerConfigReplicaCompletionCount = value ?? default(int); }
/// Internal Acessors for Configuration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Configuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Configuration = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationEventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).ConfigurationScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1 Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobPatchProperties1()); set { {_property = value;} } }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchPropertiesInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)Property).Template = value ?? null /* model class */; }
/// Outbound IP Addresses of a container apps job.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs
index 8140dccf26c5..12d58b603695 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.PowerShell.cs
@@ -150,7 +150,7 @@ internal JobPatchProperties1(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -279,7 +279,7 @@ internal JobPatchProperties1(global::System.Management.Automation.PSObject conte
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs
index 02b225a5d44b..563cfe1603f5 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobPatchProperties1.cs
@@ -75,16 +75,16 @@ public partial class JobPatchProperties1 :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.Configuration { get => (this._configuration = this._configuration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfiguration()); set { {_configuration = value;} } }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for Template
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPatchProperties1Internal.Template { get => (this._template = this._template ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobTemplate()); set { {_template = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs b/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs
index b0e8a3514faa..3ae3c2e05381 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobProperties.PowerShell.cs
@@ -159,7 +159,7 @@ internal JobProperties(global::System.Collections.IDictionary content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
@@ -296,7 +296,7 @@ internal JobProperties(global::System.Management.Automation.PSObject content)
}
if (content.Contains("ConfigurationReplicaTimeout"))
{
- ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout = (int?) content.GetValueForProperty("ConfigurationReplicaTimeout",((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal)this).ConfigurationReplicaTimeout, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
}
if (content.Contains("ConfigurationReplicaRetryLimit"))
{
diff --git a/generated/App/App.Autorest/generated/api/Models/JobProperties.cs b/generated/App/App.Autorest/generated/api/Models/JobProperties.cs
index 94011d8c7d5b..31349be16f76 100644
--- a/generated/App/App.Autorest/generated/api/Models/JobProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/JobProperties.cs
@@ -76,19 +76,19 @@ public partial class JobProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.Configuration { get => (this._configuration = this._configuration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobConfiguration()); set { {_configuration = value;} } }
/// Internal Acessors for ConfigurationEventTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationEventTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationEventTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationManualTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationManualTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationManualTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ManualTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for ConfigurationScheduleTriggerConfig
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationScheduleTriggerConfig Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.ConfigurationScheduleTriggerConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).ScheduleTriggerConfig = value ?? null /* model class */; }
/// Internal Acessors for EventStreamEndpoint
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.EventStreamEndpoint { get => this._eventStreamEndpoint; set { {_eventStreamEndpoint = value;} } }
/// Internal Acessors for EventTriggerConfigScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.EventTriggerConfigScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobConfigurationInternal)Configuration).EventTriggerConfigScale = value ?? null /* model class */; }
/// Internal Acessors for OutboundIPAddress
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobPropertiesInternal.OutboundIPAddress { get => this._outboundIPAddress; set { {_outboundIPAddress = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs b/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs
index 25588ff9415b..4c5bfd89a5db 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedCertificate.cs
@@ -40,31 +40,49 @@ public partial class ManagedCertificate :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Error
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).Error = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedCertificateProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ValidationToken
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificateInternal.ValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedCertificatePropertiesInternal)Property).ValidationToken = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -99,37 +117,37 @@ public partial class ManagedCertificate :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs
index 9ebd8b5b3464..7e9a47856def 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironment.cs
@@ -123,7 +123,7 @@ public partial class ManagedEnvironment :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.FormatTable(Index = 0)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Log analytics customer id
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -136,76 +136,94 @@ public partial class ManagedEnvironment :
public string LogAnalyticConfigurationSharedKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).LogAnalyticConfigurationSharedKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).LogAnalyticConfigurationSharedKey = value ?? null; }
/// Internal Acessors for AppLogConfigurationLogAnalyticsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogConfigurationLogAnalyticsConfiguration = value ?? null /* model class */; }
/// Internal Acessors for AppLogsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.AppLogsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).AppLogsConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CustomDomainConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationCustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationSubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).CustomDomainConfigurationThumbprint = value ?? null; }
/// Internal Acessors for DaprConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfiguration = value ?? null /* model class */; }
/// Internal Acessors for DaprConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DaprConfigurationVersion = value ?? null; }
/// Internal Acessors for DefaultDomain
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DefaultDomain = value ?? null; }
/// Internal Acessors for DeploymentError
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.DeploymentError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).DeploymentError = value ?? null; }
/// Internal Acessors for EventStreamEndpoint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.EventStreamEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).EventStreamEndpoint = value ?? null; }
/// Internal Acessors for KedaConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfiguration = value ?? null /* model class */; }
/// Internal Acessors for KedaConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).KedaConfigurationVersion = value ?? null; }
/// Internal Acessors for PeerAuthentication
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthentication Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthentication Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthentication { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthentication = value ?? null /* model class */; }
/// Internal Acessors for PeerAuthenticationMtl
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).PeerAuthenticationMtl = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for StaticIP
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.StaticIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.StaticIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).StaticIP = value ?? null; }
/// Internal Acessors for VnetConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVnetConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.VnetConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVnetConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentInternal.VnetConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal)Property).VnetConfiguration = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Boolean indicating whether the mutual TLS authentication is enabled
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
@@ -245,37 +263,37 @@ public partial class ManagedEnvironment :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs
index 6c6904935e5d..49a6f5f25d0b 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentProperties.cs
@@ -143,7 +143,7 @@ public partial class ManagedEnvironmentProperties :
public string LogAnalyticConfigurationSharedKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticConfigurationSharedKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticConfigurationSharedKey = value ?? null; }
/// Internal Acessors for AppLogConfigurationLogAnalyticsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.AppLogConfigurationLogAnalyticsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfigurationInternal)AppLogsConfiguration).LogAnalyticsConfiguration = value ?? null /* model class */; }
/// Internal Acessors for AppLogsConfiguration
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.AppLogsConfiguration { get => (this._appLogsConfiguration = this._appLogsConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.AppLogsConfiguration()); set { {_appLogsConfiguration = value;} } }
@@ -152,22 +152,22 @@ public partial class ManagedEnvironmentProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfiguration { get => (this._customDomainConfiguration = this._customDomainConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.CustomDomainConfiguration()); set { {_customDomainConfiguration = value;} } }
/// Internal Acessors for CustomDomainConfigurationCustomDomainVerificationId
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationCustomDomainVerificationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).CustomDomainVerificationId = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationExpirationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).ExpirationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for CustomDomainConfigurationSubjectName
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationSubjectName { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).SubjectName = value ?? null; }
/// Internal Acessors for CustomDomainConfigurationThumbprint
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.CustomDomainConfigurationThumbprint { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ICustomDomainConfigurationInternal)CustomDomainConfiguration).Thumbprint = value ?? null; }
/// Internal Acessors for DaprConfiguration
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DaprConfiguration { get => (this._daprConfiguration = this._daprConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.DaprConfiguration()); set { {_daprConfiguration = value;} } }
/// Internal Acessors for DaprConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DaprConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprConfigurationInternal)DaprConfiguration).Version = value ?? null; }
/// Internal Acessors for DefaultDomain
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.DefaultDomain { get => this._defaultDomain; set { {_defaultDomain = value;} } }
@@ -182,13 +182,13 @@ public partial class ManagedEnvironmentProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.KedaConfiguration { get => (this._kedaConfiguration = this._kedaConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.KedaConfiguration()); set { {_kedaConfiguration = value;} } }
/// Internal Acessors for KedaConfigurationVersion
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.KedaConfigurationVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IKedaConfigurationInternal)KedaConfiguration).Version = value ?? null; }
/// Internal Acessors for PeerAuthentication
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthentication Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.PeerAuthentication { get => (this._peerAuthentication = this._peerAuthentication ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentPropertiesPeerAuthentication()); set { {_peerAuthentication = value;} } }
/// Internal Acessors for PeerAuthenticationMtl
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IMtls Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.PeerAuthenticationMtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesPeerAuthenticationInternal)PeerAuthentication).Mtl = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs
index 51ad4bc62140..7c5bbce03d9c 100644
--- a/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ManagedEnvironmentStorage.cs
@@ -46,22 +46,40 @@ public partial class ManagedEnvironmentStorage :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for AzureFile
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureFileProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageInternal.AzureFile { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStoragePropertiesInternal)Property).AzureFile = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironmentStorageInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentStorageProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -86,37 +104,37 @@ public partial class ManagedEnvironmentStorage :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs b/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs
index 71f29bc4e270..b7354838790b 100644
--- a/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/App/App.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,16 +27,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -46,31 +64,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Replica.cs b/generated/App/App.Autorest/generated/api/Models/Replica.cs
index e40499fc0932..6b518ad1df01 100644
--- a/generated/App/App.Autorest/generated/api/Models/Replica.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Replica.cs
@@ -41,28 +41,46 @@ public partial class Replica :
public System.Collections.Generic.List InitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).InitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).InitContainer = value ?? null /* arrayOf */; }
/// Internal Acessors for CreatedTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).CreatedTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.ReplicaProperties()); set { {_property = value;} } }
/// Internal Acessors for RunningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningState = value ?? null; }
/// Internal Acessors for RunningStateDetail
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningStateDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaInternal.RunningStateDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IReplicaPropertiesInternal)Property).RunningStateDetail = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -97,37 +115,37 @@ public partial class Replica :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/Resource.cs b/generated/App/App.Autorest/generated/api/Models/Resource.cs
index c02b1c614075..7dd08e1d1ede 100644
--- a/generated/App/App.Autorest/generated/api/Models/Resource.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.App.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.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/App/App.Autorest/generated/api/Models/Revision.cs b/generated/App/App.Autorest/generated/api/Models/Revision.cs
index e15da2623fec..56277049f340 100644
--- a/generated/App/App.Autorest/generated/api/Models/Revision.cs
+++ b/generated/App/App.Autorest/generated/api/Models/Revision.cs
@@ -56,55 +56,100 @@ public partial class Revision :
public global::System.DateTime? LastActiveTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Active
- bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Active { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Active { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Active = value ?? default(bool); }
/// Internal Acessors for CreatedTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).CreatedTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Fqdn
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Fqdn = value ?? null; }
/// Internal Acessors for HealthState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.HealthState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.HealthState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).HealthState = value ?? null; }
/// Internal Acessors for LastActiveTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.LastActiveTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.LastActiveTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).LastActiveTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.RevisionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningError
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningError { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningError = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Replica
- int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Replica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Replica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Replica = value ?? default(int); }
/// Internal Acessors for RunningState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.RunningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).RunningState = value ?? null; }
+
+ /// Internal Acessors for ScaleMaxReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleMinReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleRule
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule = value ?? null /* arrayOf */; }
/// Internal Acessors for Template
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.Template { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).Template = value ?? null /* model class */; }
+
+ /// Internal Acessors for TemplateContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateInitContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateRevisionSuffix
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix = value ?? null; }
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateScale = value ?? null /* model class */; }
+
+ /// Internal Acessors for TemplateServiceBind
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateTerminationGracePeriodSecond
+ long? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond = value ?? default(long); }
+
+ /// Internal Acessors for TemplateVolume
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume = value ?? null /* arrayOf */; }
/// Internal Acessors for TrafficWeight
- int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TrafficWeight { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionInternal.TrafficWeight { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TrafficWeight = value ?? default(int); }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -147,74 +192,74 @@ public partial class Revision :
/// Optional. Maximum number of container replicas. Defaults to 10 if not set.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica = value ?? default(int); }
+ public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMaxReplica; }
/// Optional. Minimum number of container replicas.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica = value ?? default(int); }
+ public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleMinReplica; }
/// Scaling rules.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).ScaleRule; }
///
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// List of container definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateContainer; }
/// List of specialized containers that run before app containers.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateInitContainer; }
/// User friendly suffix that is appended to the revision name
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix = value ?? null; }
+ public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateRevisionSuffix; }
/// List of container app services bound to the app
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateServiceBind; }
///
/// Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer.
@@ -224,12 +269,12 @@ public partial class Revision :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond = value ?? default(long); }
+ public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateTerminationGracePeriodSecond; }
/// List of volume definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal)Property).TemplateVolume; }
/// Traffic weight assigned to this revision
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
diff --git a/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs b/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs
index 16cbab6aba18..971dc9826311 100644
--- a/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/RevisionProperties.cs
@@ -80,11 +80,38 @@ public partial class RevisionProperties :
/// Internal Acessors for RunningState
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.RunningState { get => this._runningState; set { {_runningState = value;} } }
+ /// Internal Acessors for ScaleMaxReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleMinReplica
+ int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica = value ?? default(int); }
+
+ /// Internal Acessors for ScaleRule
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule = value ?? null /* arrayOf */; }
+
/// Internal Acessors for Template
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.Template { get => (this._template = this._template ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.Template()); set { {_template = value;} } }
+ /// Internal Acessors for TemplateContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateInitContainer
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateRevisionSuffix
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix = value ?? null; }
+
/// Internal Acessors for TemplateScale
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScale Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateScale { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Scale = value ?? null /* model class */; }
+
+ /// Internal Acessors for TemplateServiceBind
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for TemplateTerminationGracePeriodSecond
+ long? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond = value ?? default(long); }
+
+ /// Internal Acessors for TemplateVolume
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume = value ?? null /* arrayOf */; }
/// Internal Acessors for TrafficWeight
int? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionPropertiesInternal.TrafficWeight { get => this._trafficWeight; set { {_trafficWeight = value;} } }
@@ -119,15 +146,15 @@ public partial class RevisionProperties :
/// Optional. Maximum number of container replicas. Defaults to 10 if not set.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica = value ?? default(int); }
+ public int? ScaleMaxReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMaxReplica; }
/// Optional. Minimum number of container replicas.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica = value ?? default(int); }
+ public int? ScaleMinReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleMinReplica; }
/// Scaling rules.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List ScaleRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ScaleRule; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate _template;
@@ -142,19 +169,19 @@ public partial class RevisionProperties :
/// List of container definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Container; }
/// List of specialized containers that run before app containers.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateInitContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).InitContainer; }
/// User friendly suffix that is appended to the revision name
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix = value ?? null; }
+ public string TemplateRevisionSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).RevisionSuffix; }
/// List of container app services bound to the app
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateServiceBind { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).ServiceBind; }
///
/// Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer.
@@ -163,11 +190,11 @@ public partial class RevisionProperties :
/// to 30 seconds.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond = value ?? default(long); }
+ public long? TemplateTerminationGracePeriodSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).TerminationGracePeriodSecond; }
/// List of volume definitions for the Container App.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List TemplateVolume { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplateInternal)Template).Volume; }
/// Backing field for property.
private int? _trafficWeight;
diff --git a/generated/App/App.Autorest/generated/api/Models/SourceControl.cs b/generated/App/App.Autorest/generated/api/Models/SourceControl.cs
index 164d31c29314..f7d041e056ea 100644
--- a/generated/App/App.Autorest/generated/api/Models/SourceControl.cs
+++ b/generated/App/App.Autorest/generated/api/Models/SourceControl.cs
@@ -91,28 +91,46 @@ public partial class SourceControl :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for GithubActionConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfiguration = value ?? null /* model class */; }
/// Internal Acessors for GithubActionConfigurationAzureCredentials
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationAzureCredentials = value ?? null /* model class */; }
/// Internal Acessors for GithubActionConfigurationRegistryInfo
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).GithubActionConfigurationRegistryInfo = value ?? null /* model class */; }
/// Internal Acessors for OperationState
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.OperationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.OperationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal)Property).OperationState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.SourceControlProperties()); set { {_property = value;} } }
@@ -165,37 +183,37 @@ public partial class SourceControl :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs b/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs
index 6c6bcbcb4152..765bb0b4e11e 100644
--- a/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs
+++ b/generated/App/App.Autorest/generated/api/Models/SourceControlProperties.cs
@@ -83,10 +83,10 @@ public partial class SourceControlProperties :
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfiguration Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfiguration { get => (this._githubActionConfiguration = this._githubActionConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.GithubActionConfiguration()); set { {_githubActionConfiguration = value;} } }
/// Internal Acessors for GithubActionConfigurationAzureCredentials
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAzureCredentials Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationAzureCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).AzureCredentials = value ?? null /* model class */; }
/// Internal Acessors for GithubActionConfigurationRegistryInfo
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRegistryInfo Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.GithubActionConfigurationRegistryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IGithubActionConfigurationInternal)GithubActionConfiguration).RegistryInfo = value ?? null /* model class */; }
/// Internal Acessors for OperationState
string Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISourceControlPropertiesInternal.OperationState { get => this._operationState; set { {_operationState = value;} } }
diff --git a/generated/App/App.Autorest/generated/api/Models/TrackedResource.cs b/generated/App/App.Autorest/generated/api/Models/TrackedResource.cs
index 95760e2c7de9..5799c8246a33 100644
--- a/generated/App/App.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/App/App.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.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs b/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs
index 3b93662e962d..90415b5d4bea 100644
--- a/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs
+++ b/generated/App/App.Autorest/generated/api/Models/WorkloadProfileStates.cs
@@ -36,16 +36,34 @@ public partial class WorkloadProfileStates :
public int? MaximumCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesPropertiesInternal)Property).MaximumCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesPropertiesInternal)Property).MaximumCount = value ?? default(int); }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesProperties Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfileStatesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.App.Models.WorkloadProfileStatesProperties()); set { {_property = value;} } }
@@ -73,37 +91,37 @@ public partial class WorkloadProfileStates :
///
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.App.Origin(Microsoft.Azure.PowerShell.Cmdlets.App.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.App.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.App.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 083d625b7cc2..32c4836127ed 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/App/App.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/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 61dfaf2bb5cf..6d93854afc53 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.App.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.App.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 +316,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.App.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/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 7aa245030237..42ccd0455ddb 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/App/App.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/App/App.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/App/App.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index 215bf80d6198..0749ea4cf587 100644
--- a/generated/App/App.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/App/App.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/App/App.Autorest/generated/runtime/MessageAttribute.cs b/generated/App/App.Autorest/generated/runtime/MessageAttribute.cs
index f49ebe0c80e4..c35bc615af33 100644
--- a/generated/App/App.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/App/App.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.App.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.App" : @"";
+
//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/App/App.Autorest/generated/runtime/Properties/Resources.resx b/generated/App/App.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/App/App.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/App/App.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/App/App.Autorest/internal/Get-AzOperation.ps1 b/generated/App/App.Autorest/internal/Get-AzOperation.ps1
index 78a83c27a4cb..e2741ec66994 100644
--- a/generated/App/App.Autorest/internal/Get-AzOperation.ps1
+++ b/generated/App/App.Autorest/internal/Get-AzOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.App.private\Get-AzOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/New-AzContainerApp.ps1 b/generated/App/App.Autorest/internal/New-AzContainerApp.ps1
index 2223aa2b30c2..afa30cce8e5d 100644
--- a/generated/App/App.Autorest/internal/New-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/internal/New-AzContainerApp.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Container App.
+Create a Container App.
.Description
-create a Container App.
+Create a Container App.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location eastus -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -510,6 +510,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerApp_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerApp_CreateViaIdentityExpanded';
@@ -517,8 +520,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerApp_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -527,6 +528,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1 b/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1
index fb4548f9a57b..ff3aaef0e347 100644
--- a/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/internal/New-AzContainerAppJob.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Container Apps Job.
+Create a Container Apps Job.
.Description
-create a Container Apps Job.
+Create a Container Apps Job.
.Example
$EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azps_test_group_app -Name azps-env).Id
$probeHttpGetHttpHeader = New-AzContainerAppProbeHeaderObject -Name "Custom-Header" -Value "Awesome"
@@ -442,6 +442,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerAppJob_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerAppJob_CreateViaIdentityExpanded';
@@ -449,8 +452,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppJob_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -459,6 +460,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1
index 6e9174103983..f39b5c0c5e7b 100644
--- a/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/App/App.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.App.private\Get-AzOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -126,9 +132,9 @@ end {
<#
.Synopsis
-create a Container Apps Job.
+Create a Container Apps Job.
.Description
-create a Container Apps Job.
+Create a Container Apps Job.
.Example
$EnvId = (Get-AzContainerAppManagedEnv -ResourceGroupName azps_test_group_app -Name azps-env).Id
$probeHttpGetHttpHeader = New-AzContainerAppProbeHeaderObject -Name "Custom-Header" -Value "Awesome"
@@ -552,6 +558,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerAppJob_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerAppJob_CreateViaIdentityExpanded';
@@ -559,8 +568,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerAppJob_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -569,6 +576,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -600,9 +610,9 @@ end {
<#
.Synopsis
-create a Container App.
+Create a Container App.
.Description
-create a Container App.
+Create a Container App.
.Example
New-AzOperationalInsightsWorkspace -ResourceGroupName azps_test_group_app -Name workspace-azpstestgp -Sku PerGB2018 -Location eastus -PublicNetworkAccessForIngestion "Enabled" -PublicNetworkAccessForQuery "Enabled"
@@ -1094,6 +1104,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.App.private\New-AzContainerApp_CreateExpanded';
CreateViaIdentityExpanded = 'Az.App.private\New-AzContainerApp_CreateViaIdentityExpanded';
@@ -1101,8 +1114,6 @@ begin {
CreateViaJsonString = 'Az.App.private\New-AzContainerApp_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1111,6 +1122,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1569,6 +1583,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateViaIdentityExpanded';
@@ -1576,8 +1593,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppJob_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1586,6 +1601,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2052,6 +2070,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerApp_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerApp_UpdateViaIdentityExpanded';
@@ -2059,8 +2080,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerApp_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2069,6 +2088,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1 b/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1
index 3e0d83ad2aeb..b9b4628690bb 100644
--- a/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1
+++ b/generated/App/App.Autorest/internal/Update-AzContainerApp.ps1
@@ -451,6 +451,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerApp_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerApp_UpdateViaIdentityExpanded';
@@ -458,8 +461,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerApp_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -468,6 +469,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1 b/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1
index 06227bfbd104..7b0cc6b974ae 100644
--- a/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1
+++ b/generated/App/App.Autorest/internal/Update-AzContainerAppJob.ps1
@@ -443,6 +443,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.App.private\Update-AzContainerAppJob_UpdateViaIdentityExpanded';
@@ -450,8 +453,6 @@ begin {
UpdateViaJsonString = 'Az.App.private\Update-AzContainerAppJob_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -460,6 +461,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/App/App.Autorest/resources/README.md b/generated/App/App.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/App/App.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/DownloadResponse.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/DownloadResponse.cs
index 6be74cd28ac4..485187002932 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/DownloadResponse.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/DownloadResponse.cs
@@ -46,13 +46,13 @@ public partial class DownloadResponse :
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseComplianceDetailedPdfReport Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseInternal.ComplianceDetailedPdfReport { get => (this._complianceDetailedPdfReport = this._complianceDetailedPdfReport ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.DownloadResponseComplianceDetailedPdfReport()); set { {_complianceDetailedPdfReport = value;} } }
/// Internal Acessors for ComplianceDetailedPdfReportSasUri
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseInternal.ComplianceDetailedPdfReportSasUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseComplianceDetailedPdfReportInternal)ComplianceDetailedPdfReport).SasUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseComplianceDetailedPdfReportInternal)ComplianceDetailedPdfReport).SasUri = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseInternal.ComplianceDetailedPdfReportSasUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseComplianceDetailedPdfReportInternal)ComplianceDetailedPdfReport).SasUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseComplianceDetailedPdfReportInternal)ComplianceDetailedPdfReport).SasUri = value ?? null; }
/// Internal Acessors for CompliancePdfReport
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseCompliancePdfReport Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseInternal.CompliancePdfReport { get => (this._compliancePdfReport = this._compliancePdfReport ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.DownloadResponseCompliancePdfReport()); set { {_compliancePdfReport = value;} } }
/// Internal Acessors for CompliancePdfReportSasUri
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseInternal.CompliancePdfReportSasUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseCompliancePdfReportInternal)CompliancePdfReport).SasUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseCompliancePdfReportInternal)CompliancePdfReport).SasUri = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseInternal.CompliancePdfReportSasUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseCompliancePdfReportInternal)CompliancePdfReport).SasUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseCompliancePdfReportInternal)CompliancePdfReport).SasUri = value ?? null; }
/// Internal Acessors for ComplianceReport
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IDownloadResponseInternal.ComplianceReport { get => this._complianceReport; set { {_complianceReport = value;} } }
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ErrorResponse.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ErrorResponse.cs
index 8561e0897865..0a854fa031f1 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceFileDownloadResponse.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceFileDownloadResponse.cs
index 03fb9363db65..58bd5e58db82 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceFileDownloadResponse.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceFileDownloadResponse.cs
@@ -30,7 +30,7 @@ public partial class EvidenceFileDownloadResponse :
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseEvidenceFile Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseInternal.EvidenceFile { get => (this._evidenceFile = this._evidenceFile ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.EvidenceFileDownloadResponseEvidenceFile()); set { {_evidenceFile = value;} } }
/// Internal Acessors for EvidenceFileUrl
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseInternal.EvidenceFileUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseEvidenceFileInternal)EvidenceFile).Url; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseEvidenceFileInternal)EvidenceFile).Url = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseInternal.EvidenceFileUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseEvidenceFileInternal)EvidenceFile).Url; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceFileDownloadResponseEvidenceFileInternal)EvidenceFile).Url = value ?? null; }
/// Creates an new instance.
public EvidenceFileDownloadResponse()
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceResource.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceResource.cs
index 525c67e213da..4fc04f1a6aa6 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceResource.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/EvidenceResource.cs
@@ -45,19 +45,37 @@ public partial class EvidenceResource :
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.EvidenceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidencePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidencePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidenceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidencePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IEvidencePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
@@ -86,31 +104,31 @@ public partial class EvidenceResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Operation.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Operation.cs
index 91813fb4fb9c..28884a695802 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Operation.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ProxyResource.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ProxyResource.cs
index fa6161a19195..4d53e97a84f4 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ProxyResource.cs
@@ -28,16 +28,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
@@ -47,31 +65,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportComplianceStatus.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportComplianceStatus.cs
index 4dc561984385..a241213b9565 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportComplianceStatus.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportComplianceStatus.cs
@@ -44,19 +44,19 @@ public partial class ReportComplianceStatus :
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365 { get => (this._m365 = this._m365 ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.OverviewStatus()); set { {_m365 = value;} } }
/// Internal Acessors for M365FailedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).FailedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).FailedCount = value ?? default(int); }
/// Internal Acessors for M365ManualCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).ManualCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).ManualCount = value ?? default(int); }
/// Internal Acessors for M365NotApplicableCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).NotApplicableCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).NotApplicableCount = value ?? default(int); }
/// Internal Acessors for M365PassedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PassedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PassedCount = value ?? default(int); }
/// Internal Acessors for M365PendingCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PendingCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatusInternal)M365).PendingCount = value ?? default(int); }
/// Creates an new instance.
public ReportComplianceStatus()
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportPatchProperties.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportPatchProperties.cs
index 70c845aa1724..294df0083ede 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportPatchProperties.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportPatchProperties.cs
@@ -68,7 +68,7 @@ public partial class ReportPatchProperties :
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.ComplianceStatus { get => (this._complianceStatus = this._complianceStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ReportComplianceStatus()); set { {_complianceStatus = value;} } }
/// Internal Acessors for ComplianceStatusM365
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365 = value ?? null /* model class */; }
/// Internal Acessors for Error
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.Error { get => this._error; set { {_error = value;} } }
@@ -77,19 +77,19 @@ public partial class ReportPatchProperties :
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.LastTriggerTime { get => this._lastTriggerTime; set { {_lastTriggerTime = value;} } }
/// Internal Acessors for M365FailedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount = value ?? default(int); }
/// Internal Acessors for M365ManualCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount = value ?? default(int); }
/// Internal Acessors for M365NotApplicableCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount = value ?? default(int); }
/// Internal Acessors for M365PassedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount = value ?? default(int); }
/// Internal Acessors for M365PendingCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount = value ?? default(int); }
/// Internal Acessors for NextTriggerTime
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal.NextTriggerTime { get => this._nextTriggerTime; set { {_nextTriggerTime = value;} } }
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportProperties.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportProperties.cs
index 53a3cd019cc6..4516994e4914 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportProperties.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportProperties.cs
@@ -68,7 +68,7 @@ public partial class ReportProperties :
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.ComplianceStatus { get => (this._complianceStatus = this._complianceStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ReportComplianceStatus()); set { {_complianceStatus = value;} } }
/// Internal Acessors for ComplianceStatusM365
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365 = value ?? null /* model class */; }
/// Internal Acessors for Error
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.Error { get => this._error; set { {_error = value;} } }
@@ -77,19 +77,19 @@ public partial class ReportProperties :
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.LastTriggerTime { get => this._lastTriggerTime; set { {_lastTriggerTime = value;} } }
/// Internal Acessors for M365FailedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365FailedCount = value ?? default(int); }
/// Internal Acessors for M365ManualCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365ManualCount = value ?? default(int); }
/// Internal Acessors for M365NotApplicableCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365NotApplicableCount = value ?? default(int); }
/// Internal Acessors for M365PassedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PassedCount = value ?? default(int); }
/// Internal Acessors for M365PendingCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatusInternal)ComplianceStatus).M365PendingCount = value ?? default(int); }
/// Internal Acessors for NextTriggerTime
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal.NextTriggerTime { get => this._nextTriggerTime; set { {_nextTriggerTime = value;} } }
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResource.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResource.cs
index 009633afb231..ad60043dc904 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResource.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResource.cs
@@ -58,67 +58,85 @@ public partial class ReportResource :
public int? M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PendingCount; }
/// Internal Acessors for CertRecord
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.CertRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).CertRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).CertRecord = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.CertRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).CertRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).CertRecord = value ?? null /* arrayOf */; }
/// Internal Acessors for ComplianceStatus
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.ComplianceStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.ComplianceStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatus = value ?? null /* model class */; }
/// Internal Acessors for ComplianceStatusM365
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatusM365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatusM365 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatusM365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ComplianceStatusM365 = value ?? null /* model class */; }
/// Internal Acessors for Error
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Error = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Error = value ?? null /* arrayOf */; }
/// Internal Acessors for LastTriggerTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.LastTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).LastTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).LastTriggerTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.LastTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).LastTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).LastTriggerTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for M365FailedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365FailedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365FailedCount = value ?? default(int); }
/// Internal Acessors for M365ManualCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365ManualCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365ManualCount = value ?? default(int); }
/// Internal Acessors for M365NotApplicableCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365NotApplicableCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365NotApplicableCount = value ?? default(int); }
/// Internal Acessors for M365PassedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PassedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PassedCount = value ?? default(int); }
/// Internal Acessors for M365PendingCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PendingCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).M365PendingCount = value ?? default(int); }
/// Internal Acessors for NextTriggerTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.NextTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).NextTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).NextTriggerTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.NextTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).NextTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).NextTriggerTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ReportProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for StorageInfo
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IStorageInfo Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.StorageInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).StorageInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).StorageInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IStorageInfo Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.StorageInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).StorageInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).StorageInfo = value ?? null /* model class */; }
/// Internal Acessors for Subscription
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.Subscription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Subscription; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Subscription = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.Subscription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Subscription; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).Subscription = value ?? null /* arrayOf */; }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPropertiesInternal)Property).TenantId = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
@@ -182,31 +200,31 @@ public partial class ReportResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// Report's tenant id.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResourcePatch.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResourcePatch.cs
index 23c2006b29ce..aef441243157 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResourcePatch.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ReportResourcePatch.cs
@@ -46,55 +46,55 @@ public partial class ReportResourcePatch :
public int? M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PendingCount; }
/// Internal Acessors for CertRecord
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.CertRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).CertRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).CertRecord = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.CertRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).CertRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).CertRecord = value ?? null /* arrayOf */; }
/// Internal Acessors for ComplianceStatus
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.ComplianceStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportComplianceStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.ComplianceStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatus = value ?? null /* model class */; }
/// Internal Acessors for ComplianceStatusM365
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatusM365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatusM365 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IOverviewStatus Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.ComplianceStatusM365 { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatusM365; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ComplianceStatusM365 = value ?? null /* model class */; }
/// Internal Acessors for Error
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Error = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Error = value ?? null /* arrayOf */; }
/// Internal Acessors for LastTriggerTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.LastTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).LastTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).LastTriggerTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.LastTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).LastTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).LastTriggerTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for M365FailedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365FailedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365FailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365FailedCount = value ?? default(int); }
/// Internal Acessors for M365ManualCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365ManualCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365ManualCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365ManualCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365ManualCount = value ?? default(int); }
/// Internal Acessors for M365NotApplicableCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365NotApplicableCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365NotApplicableCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365NotApplicableCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365NotApplicableCount = value ?? default(int); }
/// Internal Acessors for M365PassedCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PassedCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365PassedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PassedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PassedCount = value ?? default(int); }
/// Internal Acessors for M365PendingCount
- int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PendingCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.M365PendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).M365PendingCount = value ?? default(int); }
/// Internal Acessors for NextTriggerTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.NextTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).NextTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).NextTriggerTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.NextTriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).NextTriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).NextTriggerTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ReportPatchProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for StorageInfo
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IStorageInfo Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.StorageInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).StorageInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).StorageInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IStorageInfo Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.StorageInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).StorageInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).StorageInfo = value ?? null /* model class */; }
/// Internal Acessors for Subscription
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.Subscription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Subscription; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Subscription = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.Subscription { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Subscription; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).Subscription = value ?? null /* arrayOf */; }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportResourcePatchInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportPatchPropertiesInternal)Property).TenantId = value ?? null; }
/// Report next collection trigger time.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Resource.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Resource.cs
index 0b1ab8266711..a0fb6e62b3f6 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Resource.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.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.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingConfigurationResource.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingConfigurationResource.cs
index 6290dc259cbe..347a991a8171 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingConfigurationResource.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingConfigurationResource.cs
@@ -30,22 +30,40 @@ public partial class ScopingConfigurationResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ScopingConfigurationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IScopingConfigurationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
@@ -70,31 +88,31 @@ public partial class ScopingConfigurationResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingQuestion.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingQuestion.cs
index 4f02490e8845..5310aa3a8131 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingQuestion.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/ScopingQuestion.cs
@@ -85,7 +85,7 @@ public partial interface IScopingQuestion :
{
/// Input type of the question answer.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = false,
@@ -97,7 +97,7 @@ public partial interface IScopingQuestion :
string InputType { get; }
/// Option id list.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = false,
@@ -108,7 +108,7 @@ public partial interface IScopingQuestion :
System.Collections.Generic.List OptionId { get; }
/// Question id.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = false,
@@ -119,7 +119,7 @@ public partial interface IScopingQuestion :
string QuestionId { get; }
/// The rule of the question.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = false,
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotProperties.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotProperties.cs
index 577dd23ed570..1108da3ad292 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotProperties.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotProperties.cs
@@ -42,6 +42,24 @@ public partial class SnapshotProperties :
/// Internal Acessors for ReportSystemData
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.ReportSystemData { get => (this._reportSystemData = this._reportSystemData ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.SystemData()); set { {_reportSystemData = value;} } }
+ /// Internal Acessors for ReportSystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.ReportSystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ReportSystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.ReportSystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for ReportSystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.ReportSystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for ReportSystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.ReportSystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ReportSystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.ReportSystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for ReportSystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.ReportSystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for SnapshotName
string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal.SnapshotName { get => this._snapshotName; set { {_snapshotName = value;} } }
@@ -68,27 +86,27 @@ public partial class SnapshotProperties :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public global::System.DateTime? ReportSystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? ReportSystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedBy = value ?? null; }
+ public string ReportSystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedByType = value ?? null; }
+ public string ReportSystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public global::System.DateTime? ReportSystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? ReportSystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedBy = value ?? null; }
+ public string ReportSystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedByType = value ?? null; }
+ public string ReportSystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemDataInternal)ReportSystemData).LastModifiedByType; }
/// Backing field for property.
private string _snapshotName;
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotResource.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotResource.cs
index c64eb3c398ef..f03219e6b09a 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotResource.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/SnapshotResource.cs
@@ -34,37 +34,73 @@ public partial class SnapshotResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for ComplianceResult
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ComplianceResult { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ComplianceResult; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ComplianceResult = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ComplianceResult { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ComplianceResult; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ComplianceResult = value ?? null /* arrayOf */; }
/// Internal Acessors for CreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.SnapshotProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ReportProperty
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IReportProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportProperty = value ?? null /* model class */; }
/// Internal Acessors for ReportSystemData
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for ReportSystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ReportSystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for ReportSystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for ReportSystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ReportSystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for ReportSystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.ReportSystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for SnapshotName
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.SnapshotName { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).SnapshotName; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).SnapshotName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotResourceInternal.SnapshotName { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).SnapshotName; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).SnapshotName = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
@@ -87,27 +123,27 @@ public partial class SnapshotResource :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public global::System.DateTime? ReportSystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? ReportSystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedBy = value ?? null; }
+ public string ReportSystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedByType = value ?? null; }
+ public string ReportSystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public global::System.DateTime? ReportSystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? ReportSystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedBy = value ?? null; }
+ public string ReportSystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
- public string ReportSystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedByType = value ?? null; }
+ public string ReportSystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISnapshotPropertiesInternal)Property).ReportSystemDataLastModifiedByType; }
/// Gets the resource group name
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Owned)]
@@ -121,31 +157,31 @@ public partial class SnapshotResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/TriggerEvaluationResponse.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/TriggerEvaluationResponse.cs
index d6dfc1690c06..2607e40beb8f 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/TriggerEvaluationResponse.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/TriggerEvaluationResponse.cs
@@ -18,13 +18,13 @@ public partial class TriggerEvaluationResponse :
public global::System.DateTime? EvaluationEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).EvaluationEndTime; }
/// Internal Acessors for EvaluationEndTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationResponseInternal.EvaluationEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).EvaluationEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).EvaluationEndTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationResponseInternal.EvaluationEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).EvaluationEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).EvaluationEndTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationProperty Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationResponseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.TriggerEvaluationProperty()); set { {_property = value;} } }
/// Internal Acessors for TriggerTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationResponseInternal.TriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).TriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).TriggerTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationResponseInternal.TriggerTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).TriggerTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationPropertyInternal)Property).TriggerTime = value ?? default(global::System.DateTime); }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ITriggerEvaluationProperty _property;
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResource.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResource.cs
index 077871cb07bc..d6bd1a7a75b3 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResource.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResource.cs
@@ -42,34 +42,52 @@ public partial class WebhookResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for DeliveryStatus
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.DeliveryStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.DeliveryStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.WebhookProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId = value ?? null; }
/// Internal Acessors for WebhookId
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.WebhookId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.WebhookId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId = value ?? null; }
/// Internal Acessors for WebhookKeyEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.WebhookKeyEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourceInternal.WebhookKeyEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
@@ -106,31 +124,31 @@ public partial class WebhookResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// Tenant id.
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResourcePatch.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResourcePatch.cs
index 0d5e0fdff42c..7fd7dd3c6afc 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResourcePatch.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/api/Models/WebhookResourcePatch.cs
@@ -30,22 +30,22 @@ public partial class WebhookResourcePatch :
public System.Collections.Generic.List Event { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).Event; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).Event = value ?? null /* arrayOf */; }
/// Internal Acessors for DeliveryStatus
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.DeliveryStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.DeliveryStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).DeliveryStatus = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookProperties Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.WebhookProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).TenantId = value ?? null; }
/// Internal Acessors for WebhookId
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.WebhookId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.WebhookId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookId = value ?? null; }
/// Internal Acessors for WebhookKeyEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.WebhookKeyEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookResourcePatchInternal.WebhookKeyEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Models.IWebhookPropertiesInternal)Property).WebhookKeyEnabled = value ?? null; }
/// webhook payload url
[Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.PropertyOrigin.Inlined)]
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 6b7bceea8c58..be5efe7481b0 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.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/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 3de83951399f..823ab94a6328 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/MessageAttribute.cs b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/MessageAttribute.cs
index 407c9d92b23e..2d7e01c51640 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.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.AppComplianceAutomation" : @"";
+
//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/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/Properties/Resources.resx b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.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/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationEvidence.ps1 b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationEvidence.ps1
index 7bbf39fa7e18..f6ac8baebe7a 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationEvidence.ps1
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationEvidence.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create an evidence a specified report
+Create an evidence a specified report
.Description
-create an evidence a specified report
+Create an evidence a specified report
.Example
{{ Add code here }}
.Example
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationReport.ps1 b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationReport.ps1
index ca4dda2b2bf1..5f659860c1f7 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationReport.ps1
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationReport.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
+Create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
.Description
-create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
+Create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
.Example
{{ Add code here }}
.Example
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationWebhook.ps1 b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationWebhook.ps1
index 5c40c9976bab..c81412c67934 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationWebhook.ps1
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/New-AzAppComplianceAutomationWebhook.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
+Create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
.Description
-create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
+Create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
.Example
{{ Add code here }}
.Example
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/ProxyCmdletDefinitions.ps1
index 1e3e392683d0..53cc152036ae 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -2367,9 +2367,9 @@ end {
<#
.Synopsis
-create an evidence a specified report
+Create an evidence a specified report
.Description
-create an evidence a specified report
+Create an evidence a specified report
.Example
{{ Add code here }}
.Example
@@ -2601,9 +2601,9 @@ end {
<#
.Synopsis
-create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
+Create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
.Description
-create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
+Create a new AppComplianceAutomation report or create an exiting AppComplianceAutomation report.
.Example
{{ Add code here }}
.Example
@@ -3037,9 +3037,9 @@ end {
<#
.Synopsis
-create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
+Create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
.Description
-create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
+Create a new AppComplianceAutomation webhook or create an exiting AppComplianceAutomation webhook.
.Example
{{ Add code here }}
.Example
@@ -4088,9 +4088,9 @@ end {
<#
.Synopsis
-update an evidence a specified report
+Update an evidence a specified report
.Description
-update an evidence a specified report
+Update an evidence a specified report
.Example
{{ Add code here }}
.Example
@@ -4306,9 +4306,9 @@ end {
<#
.Synopsis
-update an exiting AppComplianceAutomation report.
+Update an exiting AppComplianceAutomation report.
.Description
-update an exiting AppComplianceAutomation report.
+Update an exiting AppComplianceAutomation report.
.Example
{{ Add code here }}
.Example
@@ -4726,9 +4726,9 @@ end {
<#
.Synopsis
-update an exiting AppComplianceAutomation webhook.
+Update an exiting AppComplianceAutomation webhook.
.Description
-update an exiting AppComplianceAutomation webhook.
+Update an exiting AppComplianceAutomation webhook.
.Example
{{ Add code here }}
.Example
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationEvidence.ps1 b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationEvidence.ps1
index 41750641acb2..c8203c750644 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationEvidence.ps1
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationEvidence.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an evidence a specified report
+Update an evidence a specified report
.Description
-update an evidence a specified report
+Update an evidence a specified report
.Example
{{ Add code here }}
.Example
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationReport.ps1 b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationReport.ps1
index 141c4decc9cb..2cc876bc431e 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationReport.ps1
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationReport.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an exiting AppComplianceAutomation report.
+Update an exiting AppComplianceAutomation report.
.Description
-update an exiting AppComplianceAutomation report.
+Update an exiting AppComplianceAutomation report.
.Example
{{ Add code here }}
.Example
diff --git a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationWebhook.ps1 b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationWebhook.ps1
index fc808cf9e4d7..8cc0e3fae307 100644
--- a/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationWebhook.ps1
+++ b/generated/AppComplianceAutomation/AppComplianceAutomation.Autorest/internal/Update-AzAppComplianceAutomationWebhook.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an exiting AppComplianceAutomation webhook.
+Update an exiting AppComplianceAutomation webhook.
.Description
-update an exiting AppComplianceAutomation webhook.
+Update an exiting AppComplianceAutomation webhook.
.Example
{{ Add code here }}
.Example
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/exports/New-AzAppConfigurationStore.ps1 b/generated/AppConfiguration/AppConfiguration.Autorest/exports/New-AzAppConfigurationStore.ps1
index 3a2c83e1c2c7..96fb39bf0157 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/exports/New-AzAppConfigurationStore.ps1
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/exports/New-AzAppConfigurationStore.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a configuration store with the specified parameters.
+Create a configuration store with the specified parameters.
.Description
-create a configuration store with the specified parameters.
+Create a configuration store with the specified parameters.
.Example
New-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -Location eastus -Sku Standard
.Example
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/AppConfiguration/AppConfiguration.Autorest/exports/ProxyCmdletDefinitions.ps1
index 2b7186dc0735..385bc5da83e9 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -1079,9 +1079,9 @@ end {
<#
.Synopsis
-create a configuration store with the specified parameters.
+Create a configuration store with the specified parameters.
.Description
-create a configuration store with the specified parameters.
+Create a configuration store with the specified parameters.
.Example
New-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -Location eastus -Sku Standard
.Example
@@ -1787,9 +1787,9 @@ end {
<#
.Synopsis
-update a configuration store with the specified parameters.
+Update a configuration store with the specified parameters.
.Description
-update a configuration store with the specified parameters.
+Update a configuration store with the specified parameters.
.Example
Update-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -DisableLocalAuth -EnablePurgeProtection -PublicNetworkAccess 'Enabled'
.Example
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/exports/Update-AzAppConfigurationStore.ps1 b/generated/AppConfiguration/AppConfiguration.Autorest/exports/Update-AzAppConfigurationStore.ps1
index 32c9d5fca056..aeed9352cb0c 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/exports/Update-AzAppConfigurationStore.ps1
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/exports/Update-AzAppConfigurationStore.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a configuration store with the specified parameters.
+Update a configuration store with the specified parameters.
.Description
-update a configuration store with the specified parameters.
+Update a configuration store with the specified parameters.
.Example
Update-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp -DisableLocalAuth -EnablePurgeProtection -PublicNetworkAccess 'Enabled'
.Example
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStore.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStore.cs
index 661f9391cae1..c920e73b67f2 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStore.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStore.cs
@@ -96,34 +96,34 @@ public partial class ConfigurationStore :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for CreationDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.CreationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).CreationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).CreationDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.CreationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).CreationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).CreationDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for Encryption
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Encryption = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Encryption = value ?? null /* model class */; }
/// Internal Acessors for EncryptionKeyVaultProperty
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).EncryptionKeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).EncryptionKeyVaultProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).EncryptionKeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).EncryptionKeyVaultProperty = value ?? null /* model class */; }
/// Internal Acessors for Endpoint
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Endpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Endpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Endpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).Endpoint = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentity Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ResourceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for PrivateEndpointConnection
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).PrivateEndpointConnection = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).PrivateEndpointConnection = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ConfigurationStoreProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Sku()); set { {_sku = value;} } }
@@ -132,31 +132,31 @@ public partial class ConfigurationStore :
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.PropertyOrigin.Inherited)]
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreProperties.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreProperties.cs
index 1aac2e0deb03..51965acdfe27 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreProperties.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreProperties.cs
@@ -72,7 +72,7 @@ public partial class ConfigurationStoreProperties :
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal.Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.EncryptionProperties()); set { {_encryption = value;} } }
/// Internal Acessors for EncryptionKeyVaultProperty
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty = value ?? null /* model class */; }
/// Internal Acessors for Endpoint
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesInternal.Endpoint { get => this._endpoint; set { {_endpoint = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStorePropertiesUpdateParameters.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStorePropertiesUpdateParameters.cs
index 8734b40fe3d7..7164398d5287 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStorePropertiesUpdateParameters.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStorePropertiesUpdateParameters.cs
@@ -48,7 +48,7 @@ public partial class ConfigurationStorePropertiesUpdateParameters :
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal.Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.EncryptionProperties()); set { {_encryption = value;} } }
/// Internal Acessors for EncryptionKeyVaultProperty
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionPropertiesInternal)Encryption).KeyVaultProperty = value ?? null /* model class */; }
/// Backing field for property.
private string _publicNetworkAccess;
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreUpdateParameters.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreUpdateParameters.cs
index 46b91fbeea95..b18ccdbe0d1c 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreUpdateParameters.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ConfigurationStoreUpdateParameters.cs
@@ -65,19 +65,19 @@ public partial class ConfigurationStoreUpdateParameters :
public string KeyVaultPropertyKeyIdentifier { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).KeyVaultPropertyKeyIdentifier; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).KeyVaultPropertyKeyIdentifier = value ?? null; }
/// Internal Acessors for Encryption
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).Encryption = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IEncryptionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).Encryption = value ?? null /* model class */; }
/// Internal Acessors for EncryptionKeyVaultProperty
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).EncryptionKeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).EncryptionKeyVaultProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).EncryptionKeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParametersInternal)Property).EncryptionKeyVaultProperty = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentity Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ResourceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStorePropertiesUpdateParameters Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IConfigurationStoreUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ConfigurationStorePropertiesUpdateParameters()); set { {_property = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/DeletedConfigurationStore.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/DeletedConfigurationStore.cs
index 86cbddc7dc30..e9acdf803d8a 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/DeletedConfigurationStore.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/DeletedConfigurationStore.cs
@@ -33,16 +33,16 @@ public partial class DeletedConfigurationStore :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Location; }
/// Internal Acessors for ConfigurationStoreId
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.ConfigurationStoreId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ConfigurationStoreId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ConfigurationStoreId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.ConfigurationStoreId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ConfigurationStoreId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ConfigurationStoreId = value ?? null; }
/// Internal Acessors for DeletionDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.DeletionDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).DeletionDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).DeletionDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.DeletionDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).DeletionDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).DeletionDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Id { get => this._id; set { {_id = value;} } }
/// Internal Acessors for Location
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Location = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Name { get => this._name; set { {_name = value;} } }
@@ -51,13 +51,13 @@ public partial class DeletedConfigurationStore :
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.DeletedConfigurationStoreProperties()); set { {_property = value;} } }
/// Internal Acessors for PurgeProtectionEnabled
- bool? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.PurgeProtectionEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).PurgeProtectionEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).PurgeProtectionEnabled = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.PurgeProtectionEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).PurgeProtectionEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).PurgeProtectionEnabled = value ?? default(bool); }
/// Internal Acessors for ScheduledPurgeDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.ScheduledPurgeDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ScheduledPurgeDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ScheduledPurgeDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.ScheduledPurgeDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ScheduledPurgeDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).ScheduledPurgeDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for Tag
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesTags Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Tag = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesTags Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStorePropertiesInternal)Property).Tag = value ?? null /* model class */; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IDeletedConfigurationStoreInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ErrorResponse.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ErrorResponse.cs
index 84a2c2de9a24..30d6ac1f5380 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/ErrorResponse.cs
@@ -36,16 +36,16 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Code = value ?? null; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetails Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.ErrorDetails()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IErrorDetailsInternal)Error).Message = value ?? null; }
/// Creates an new instance.
public ErrorResponse()
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/KeyValue.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/KeyValue.cs
index 34c68bdbe2cc..5b13d85c4637 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/KeyValue.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/KeyValue.cs
@@ -57,22 +57,22 @@ public partial class KeyValue :
public bool? Locked { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Locked; }
/// Internal Acessors for ETag
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).ETag = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).ETag = value ?? null; }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Id { get => this._id; set { {_id = value;} } }
/// Internal Acessors for Key
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Key { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Key; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Key = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Key { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Key; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Key = value ?? null; }
/// Internal Acessors for Label
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Label { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Label; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Label = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Label { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Label; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Label = value ?? null; }
/// Internal Acessors for LastModified
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.LastModified { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).LastModified; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).LastModified = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.LastModified { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).LastModified; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).LastModified = value ?? default(global::System.DateTime); }
/// Internal Acessors for Locked
- bool? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Locked { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Locked; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Locked = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Locked { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Locked; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValuePropertiesInternal)Property).Locked = value ?? default(bool); }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IKeyValueInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/OperationDefinition.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/OperationDefinition.cs
index 0d759750fb20..9b7c75938d0d 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/OperationDefinition.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/OperationDefinition.cs
@@ -47,13 +47,13 @@ public partial class OperationDefinition :
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionDisplay Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.OperationDefinitionDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.OperationProperties()); set { {_property = value;} } }
/// Internal Acessors for ServiceSpecification
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionInternal.ServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationPropertiesInternal)Property).ServiceSpecification = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationDefinitionInternal.ServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IOperationPropertiesInternal)Property).ServiceSpecification = value ?? null /* model class */; }
/// Backing field for property.
private string _name;
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnection.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnection.cs
index 709bf6652524..8fa9a405dd9d 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnection.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnection.cs
@@ -27,19 +27,19 @@ public partial class PrivateEndpointConnection :
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionStateActionsRequired
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
index efd82f211eb1..1d84adb8ccd7 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
@@ -20,7 +20,7 @@ public partial class PrivateEndpointConnectionProperties :
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.PrivateLinkServiceConnectionState()); set { {_privateLinkServiceConnectionState = value;} } }
/// Internal Acessors for PrivateLinkServiceConnectionStateActionsRequired
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionStateInternal)PrivateLinkServiceConnectionState).ActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionStateInternal)PrivateLinkServiceConnectionState).ActionsRequired = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionStateInternal)PrivateLinkServiceConnectionState).ActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionStateInternal)PrivateLinkServiceConnectionState).ActionsRequired = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionReference.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionReference.cs
index eedbfc7f2e12..9ecf5ed278dc 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionReference.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateEndpointConnectionReference.cs
@@ -27,19 +27,19 @@ public partial class PrivateEndpointConnectionReference :
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionStateActionsRequired
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateEndpointConnectionReferenceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateLinkResource.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateLinkResource.cs
index 6d91a085806c..919b4b85fcc8 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateLinkResource.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/PrivateLinkResource.cs
@@ -25,7 +25,7 @@ public partial class PrivateLinkResource :
public string Id { get => this._id; }
/// Internal Acessors for GroupId
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value ?? null; }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.Id { get => this._id; set { {_id = value;} } }
@@ -37,10 +37,10 @@ public partial class PrivateLinkResource :
Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.PrivateLinkResourceProperties()); set { {_property = value;} } }
/// Internal Acessors for RequiredMember
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value ?? null /* arrayOf */; }
/// Internal Acessors for RequiredZoneName
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.RequiredZoneName { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.RequiredZoneName { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName = value ?? null /* arrayOf */; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IPrivateLinkResourceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/TrackedResource.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/TrackedResource.cs
index 7c2978b5f9b9..be04e39350ba 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/api/Models/TrackedResource.cs
@@ -34,13 +34,13 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Origin(Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.PropertyOrigin.Inherited)]
diff --git a/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index c3e97468a6c9..2564c0a70a8f 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/AppConfiguration/AppConfiguration.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/AppConfiguration/AppConfiguration.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 885f2b3109b4..c45b0ab09e8c 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/AppConfiguration/AppConfiguration.Autorest/generated/runtime/MessageAttribute.cs b/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/MessageAttribute.cs
index a0db9daecd97..1bd5cb45d9a9 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.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.AppConfiguration" : @"";
+
//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/AppConfiguration/AppConfiguration.Autorest/generated/runtime/Properties/Resources.resx b/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/AppConfiguration/AppConfiguration.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/AppConfiguration/AppConfiguration.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/ArcGateway/ArcGateway.Autorest/exports/Get-AzArcGateway.ps1 b/generated/ArcGateway/ArcGateway.Autorest/exports/Get-AzArcGateway.ps1
index 8834028f6381..c38fea1633c5 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/exports/Get-AzArcGateway.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/exports/Get-AzArcGateway.ps1
@@ -153,6 +153,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -177,8 +186,6 @@ begin {
List1 = 'Az.ArcGateway.private\Get-AzArcGateway_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -192,6 +199,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/exports/New-AzArcGateway.ps1 b/generated/ArcGateway/ArcGateway.Autorest/exports/New-AzArcGateway.ps1
index 211a2d92b838..d75c20bdc602 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/exports/New-AzArcGateway.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/exports/New-AzArcGateway.ps1
@@ -61,7 +61,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : Describes an Arc Gateway.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AllowedFeature >]: Specifies the list of features that are enabled for this Gateway.
@@ -221,6 +221,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -247,8 +256,6 @@ begin {
CreateViaIdentity = 'Az.ArcGateway.custom\New-AzArcGateway';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath', 'Create') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -262,6 +269,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ArcGateway/ArcGateway.Autorest/exports/ProxyCmdletDefinitions.ps1
index 0012ccf4a6a5..67fdafe7dbe7 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -153,6 +153,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -177,8 +186,6 @@ begin {
List1 = 'Az.ArcGateway.private\Get-AzArcGateway_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -192,6 +199,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -387,6 +397,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -409,8 +428,6 @@ begin {
DeleteViaIdentity = 'Az.ArcGateway.private\Remove-AzArcGateway_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -424,6 +441,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -514,7 +534,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : Describes an Arc Gateway.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AllowedFeature >]: Specifies the list of features that are enabled for this Gateway.
@@ -674,6 +694,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -700,8 +729,6 @@ begin {
CreateViaIdentity = 'Az.ArcGateway.custom\New-AzArcGateway';
}
if (('CreateExpanded', 'CreateViaJsonString', 'CreateViaJsonFilePath', 'Create') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -715,6 +742,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -950,6 +980,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -976,8 +1015,6 @@ begin {
PatchViaIdentity = 'Az.ArcGateway.custom\Update-AzArcSetting';
}
if (('PatchExpanded', 'PatchViaJsonString', 'PatchViaJsonFilePath', 'Patch') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -991,6 +1028,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/exports/Remove-AzArcGateway.ps1 b/generated/ArcGateway/ArcGateway.Autorest/exports/Remove-AzArcGateway.ps1
index a67e166e3b84..7a388cd5b03a 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/exports/Remove-AzArcGateway.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/exports/Remove-AzArcGateway.ps1
@@ -166,6 +166,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -188,8 +197,6 @@ begin {
DeleteViaIdentity = 'Az.ArcGateway.private\Remove-AzArcGateway_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -203,6 +210,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/exports/Update-AzArcSetting.ps1 b/generated/ArcGateway/ArcGateway.Autorest/exports/Update-AzArcSetting.ps1
index 9d032087c7b2..417fb8fd4aa8 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/exports/Update-AzArcSetting.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/exports/Update-AzArcSetting.ps1
@@ -206,6 +206,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -232,8 +241,6 @@ begin {
PatchViaIdentity = 'Az.ArcGateway.custom\Update-AzArcSetting';
}
if (('PatchExpanded', 'PatchViaJsonString', 'PatchViaJsonFilePath', 'Patch') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -247,6 +254,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/ArcGateway.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/ArcGateway.cs
index 9eed57703fb1..ff0390fadc52 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/ArcGateway.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/ArcGateway.cs
@@ -1629,13 +1629,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -1786,13 +1786,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -2058,13 +2058,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -4613,13 +4613,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -4770,13 +4770,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -5048,13 +5048,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -6211,13 +6211,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -6368,13 +6368,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -6845,13 +6845,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -7002,13 +7002,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -7274,13 +7274,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -8690,13 +8690,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -8847,13 +8847,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -9294,13 +9294,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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 _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -9452,13 +9452,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -9943,13 +9943,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -10100,13 +10100,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -10382,13 +10382,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -11567,13 +11567,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -11724,13 +11724,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -12225,13 +12225,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -12379,13 +12379,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -12657,13 +12657,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -13835,13 +13835,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -13992,13 +13992,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -14358,13 +14358,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -14513,13 +14513,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -15995,13 +15995,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -16150,13 +16150,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -19888,13 +19888,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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 _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -20048,13 +20048,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -20829,13 +20829,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -20988,13 +20988,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -21268,13 +21268,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -23380,13 +23380,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
@@ -27165,13 +27165,13 @@ public partial class ArcGateway
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.ArcGateway.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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");
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/AccessRule.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/AccessRule.cs
index b384b5b4d565..4bca42186c3a 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/AccessRule.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/AccessRule.cs
@@ -22,10 +22,10 @@ public partial class AccessRule :
public string Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).Direction; }
/// Internal Acessors for AddressPrefix
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRuleInternal.AddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).AddressPrefix = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRuleInternal.AddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).AddressPrefix = value ?? null /* arrayOf */; }
/// Internal Acessors for Direction
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRuleInternal.Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).Direction; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).Direction = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRuleInternal.Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).Direction; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRulePropertiesInternal)Property).Direction = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAccessRuleInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponse.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponse.cs
index f0640b0db4b1..7a8399ac3cf5 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
index 82eecf21aea7..65b8e8d1bca5 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponseAutoGenerated :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGenerated Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ErrorDetailAutoGenerated()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailAutoGeneratedInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ExtensionValue.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ExtensionValue.cs
index 62463ee82433..5f84041928cc 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ExtensionValue.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ExtensionValue.cs
@@ -29,28 +29,46 @@ public partial class ExtensionValue :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Id; }
/// Internal Acessors for ExtensionType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueInternal.ExtensionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).ExtensionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).ExtensionType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueInternal.ExtensionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).ExtensionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).ExtensionType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ExtensionValueProperties()); set { {_property = value;} } }
/// Internal Acessors for Publisher
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Publisher = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Publisher = value ?? null; }
/// Internal Acessors for Version
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValueInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IExtensionValuePropertiesInternal)Property).Version = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -75,31 +93,31 @@ public partial class ExtensionValue :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Gateway.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Gateway.cs
index c5c69e15ca26..9f104a64d28a 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Gateway.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Gateway.cs
@@ -43,31 +43,49 @@ public partial class Gateway :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location = value ?? null; }
/// Internal Acessors for Endpoint
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayInternal.Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayInternal.Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint = value ?? null; }
/// Internal Acessors for GatewayId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayInternal.GatewayId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayInternal.GatewayId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).GatewayId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.GatewayProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IGatewayPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -92,31 +110,31 @@ public partial class Gateway :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs
index 835cd49ed86b..6e2912dce01e 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs
@@ -25,31 +25,49 @@ public partial class HybridComputePrivateLinkScope :
/// Resource location
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location = value ?? null; }
/// Internal Acessors for PrivateEndpointConnection
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection = value ?? null /* arrayOf */; }
/// Internal Acessors for PrivateLinkScopeId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.PrivateLinkScopeId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.PrivateLinkScopeId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.HybridComputePrivateLinkScopeProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridComputePrivateLinkScopeInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type = value ?? null; }
/// Azure resource name
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -97,27 +115,27 @@ public partial class HybridComputePrivateLinkScope :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Resource tags
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadata.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadata.cs
index 39bd73cea274..b42b1574811d 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadata.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadata.cs
@@ -35,31 +35,52 @@ public partial class HybridIdentityMetadata :
/// The identity type.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType = value ?? null; }
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; }
/// Internal Acessors for Identity
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity = value ?? null /* model class */; }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId = value ?? null; }
+
+ /// Internal Acessors for IdentityType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.HybridIdentityMetadataProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -84,31 +105,31 @@ public partial class HybridIdentityMetadata :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs
index 466012ded735..9b5ce5422971 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs
@@ -30,16 +30,19 @@ public partial class HybridIdentityMetadataProperties :
/// The identity type.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).Type = value ?? null; }
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).Type; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
+
+ /// Internal Acessors for IdentityType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHybridIdentityMetadataPropertiesInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).Type = value ?? null; }
/// Backing field for property.
private string _publicKey;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/IPAddress.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/IPAddress.cs
index a9569e34fa09..262ba87f9a7e 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/IPAddress.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/IPAddress.cs
@@ -23,6 +23,9 @@ public partial class IPAddress :
/// Internal Acessors for Subnet
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISubnet Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIPAddressInternal.Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.Subnet()); set { {_subnet = value;} } }
+ /// Internal Acessors for SubnetAddressPrefix
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIPAddressInternal.SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISubnetInternal)Subnet).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISubnetInternal)Subnet).AddressPrefix = value ?? null; }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISubnet _subnet;
@@ -32,7 +35,7 @@ public partial class IPAddress :
/// Represents address prefix.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISubnetInternal)Subnet).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISubnetInternal)Subnet).AddressPrefix = value ?? null; }
+ public string SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISubnetInternal)Subnet).AddressPrefix; }
/// Backing field for property.
private string _version;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/KeyProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/KeyProperties.cs
index 3bb34644b18e..d6b9b8900a0b 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/KeyProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/KeyProperties.cs
@@ -55,25 +55,25 @@ public partial class KeyProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.CandidatePublicKey { get => (this._candidatePublicKey = this._candidatePublicKey ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.KeyDetails()); set { {_candidatePublicKey = value;} } }
/// Internal Acessors for CandidatePublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for CandidatePublicKeyPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.CandidatePublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.CandidatePublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey = value ?? null; }
/// Internal Acessors for CandidatePublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKey
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.ClientPublicKey { get => (this._clientPublicKey = this._clientPublicKey ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.KeyDetails()); set { {_clientPublicKey = value;} } }
/// Internal Acessors for ClientPublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKeyPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.ClientPublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.ClientPublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey = value ?? null; }
/// Internal Acessors for ClientPublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter = value ?? default(global::System.DateTime); }
/// Creates an new instance.
public KeyProperties()
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/License.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/License.cs
index 14aeb703e4fb..329eedd26f90 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/License.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/License.cs
@@ -64,34 +64,52 @@ public partial class License :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Detail
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetail = value ?? null /* model class */; }
/// Internal Acessors for DetailAssignedLicense
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.DetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.DetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense = value ?? default(int); }
/// Internal Acessors for DetailImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.DetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.DetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -116,31 +134,31 @@ public partial class License :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfile.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfile.cs
index a03bfe43f779..4394c13ce2d3 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfile.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfile.cs
@@ -62,83 +62,101 @@ public partial class LicenseProfile :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// The error message.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile = value ?? null /* model class */; }
/// Internal Acessors for EsuProfileAssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuProfileEsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility = value ?? null; }
/// Internal Acessors for EsuProfileEsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfileEsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState = value ?? null; }
/// Internal Acessors for EsuProfileServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType = value ?? null; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Message = value ?? null; }
/// Internal Acessors for ProductProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile = value ?? null /* model class */; }
/// Internal Acessors for ProductProfileBillingEndDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileBillingStartDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileDisenrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileEnrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SoftwareAssurance
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance = value ?? null /* model class */; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal)Property).Target = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -197,31 +215,31 @@ public partial class LicenseProfile :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs
index b5871d500da2..ecba0e77b142 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs
@@ -43,19 +43,19 @@ public partial class LicenseProfileArmEsuProperties :
public string EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; }
/// Internal Acessors for EsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value ?? null; }
/// Internal Acessors for ServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value ?? null; }
/// Internal Acessors for AssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value ?? null /* arrayOf */; }
/// The type of the Esu servers.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs
index 49109a14b90c..deef44c9823a 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs
@@ -51,10 +51,10 @@ public partial class LicenseProfileArmEsuPropertiesWithoutAssignedLicense :
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => this._serverType; set { {_serverType = value;} } }
/// Internal Acessors for AssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey = value ?? null /* arrayOf */; }
/// Backing field for property.
private string _serverType;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs
index 17c53feccce4..ffba2f0dab13 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs
@@ -67,7 +67,7 @@ public partial class LicenseProfileArmProductProfileProperties :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for BillingEndDate
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.BillingEndDate { get => this._billingEndDate; set { {_billingEndDate = value;} } }
@@ -76,10 +76,10 @@ public partial class LicenseProfileArmProductProfileProperties :
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.BillingStartDate { get => this._billingStartDate; set { {_billingStartDate = value;} } }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for DisenrollmentDate
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.DisenrollmentDate { get => this._disenrollmentDate; set { {_disenrollmentDate = value;} } }
@@ -91,10 +91,10 @@ public partial class LicenseProfileArmProductProfileProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// Backing field for property.
private System.Collections.Generic.List _productFeature;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs
index fcd7898ae495..00019640e996 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs
@@ -79,31 +79,31 @@ public partial class LicenseProfileMachineInstanceView :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfile { get => (this._esuProfile = this._esuProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfileMachineInstanceViewEsuProperties()); set { {_esuProfile = value;} } }
/// Internal Acessors for EsuProfileAssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuProfileEsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuProfileEsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfileEsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value ?? null; }
/// Internal Acessors for EsuProfileServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value ?? null; }
/// Internal Acessors for LicenseChannel
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.LicenseChannel { get => this._licenseChannel; set { {_licenseChannel = value;} } }
@@ -112,31 +112,43 @@ public partial class LicenseProfileMachineInstanceView :
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.LicenseStatus { get => this._licenseStatus; set { {_licenseStatus = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value ?? null; }
/// Internal Acessors for ProductProfile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfile { get => (this._productProfile = this._productProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfileArmProductProfileProperties()); set { {_productProfile = value;} } }
/// Internal Acessors for ProductProfileBillingEndDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileBillingStartDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileDisenrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileEnrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value ?? null /* model class */; }
+
+ /// Internal Acessors for ProductProfileProductFeature
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileProductFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for ProductProfileProductType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileProductType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType = value ?? null; }
+
+ /// Internal Acessors for ProductProfileSubscriptionStatus
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus = value ?? null; }
/// Internal Acessors for SoftwareAssurance
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.SoftwareAssurance { get => (this._softwareAssurance = this._softwareAssurance ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfileMachineInstanceViewSoftwareAssurance()); set { {_softwareAssurance = value;} } }
+ /// Internal Acessors for SoftwareAssuranceCustomer
+ bool? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.SoftwareAssuranceCustomer { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer = value ?? default(bool); }
+
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfileProperties _productProfile;
@@ -163,15 +175,15 @@ public partial class LicenseProfileMachineInstanceView :
/// The list of product features.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List ProductProfileProductFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List ProductProfileProductFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature; }
/// Indicates the product type of the license.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string ProductProfileProductType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType = value ?? null; }
+ public string ProductProfileProductType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType; }
/// Indicates the subscription status of the product.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string ProductProfileSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus = value ?? null; }
+ public string ProductProfileSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewSoftwareAssurance _softwareAssurance;
@@ -183,7 +195,7 @@ public partial class LicenseProfileMachineInstanceView :
/// Specifies if this machine is licensed as part of a Software Assurance agreement.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public bool? SoftwareAssuranceCustomer { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer = value ?? default(bool); }
+ public bool? SoftwareAssuranceCustomer { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs
index 96f7882634e9..5dfeb97cff25 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs
@@ -50,19 +50,19 @@ public partial class LicenseProfileMachineInstanceViewEsuProperties :
public string LicenseAssignmentState { get => this._licenseAssignmentState; set => this._licenseAssignmentState = value; }
/// Internal Acessors for EsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value ?? null; }
/// Internal Acessors for ServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value ?? null; }
/// Internal Acessors for AssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value ?? null /* arrayOf */; }
/// The type of the Esu servers.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileProperties.cs
index 7b95f590a42a..26fd61a766e9 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileProperties.cs
@@ -61,52 +61,52 @@ public partial class LicenseProfileProperties :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfile { get => (this._esuProfile = this._esuProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfileArmEsuProperties()); set { {_esuProfile = value;} } }
/// Internal Acessors for EsuProfileAssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuProfileEsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuProfileEsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfileEsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value ?? null; }
/// Internal Acessors for EsuProfileServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value ?? null; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value ?? null; }
/// Internal Acessors for ProductProfile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfile { get => (this._productProfile = this._productProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfileArmProductProfileProperties()); set { {_productProfile = value;} } }
/// Internal Acessors for ProductProfileBillingEndDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileBillingStartDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileDisenrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileEnrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -115,7 +115,7 @@ public partial class LicenseProfileProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.SoftwareAssurance { get => (this._softwareAssurance = this._softwareAssurance ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfilePropertiesSoftwareAssurance()); set { {_softwareAssurance = value;} } }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileArmProductProfileProperties _productProfile;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileUpdate.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileUpdate.cs
index ddb9cd966d19..c1746a72580d 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileUpdate.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProfileUpdate.cs
@@ -23,16 +23,16 @@ public partial class LicenseProfileUpdate :
public string EsuProfileAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfileAssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfileAssignedLicense = value ?? null; }
/// Internal Acessors for EsuProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IEsuProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IEsuProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile = value ?? null /* model class */; }
/// Internal Acessors for ProductProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseProfileUpdateProperties()); set { {_property = value;} } }
/// Internal Acessors for SoftwareAssurance
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdateInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance = value ?? null /* model class */; }
/// The list of product feature updates.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProperties.cs
index a3d9745d7b95..e9f330f06301 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseProperties.cs
@@ -65,10 +65,10 @@ public partial class LicenseProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal.LicenseDetail { get => (this._licenseDetail = this._licenseDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseDetails()); set { {_licenseDetail = value;} } }
/// Internal Acessors for LicenseDetailAssignedLicense
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal.LicenseDetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal.LicenseDetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense = value ?? default(int); }
/// Internal Acessors for LicenseDetailImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal.LicenseDetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal.LicenseDetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicensePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseUpdate.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseUpdate.cs
index 3081c789d0f3..46e708658b03 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseUpdate.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/LicenseUpdate.cs
@@ -45,7 +45,7 @@ public partial class LicenseUpdate :
public string LicenseType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesInternal)Property).LicenseType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesInternal)Property).LicenseType = value ?? null; }
/// Internal Acessors for LicenseDetail
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesLicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdateInternal.LicenseDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesLicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdateInternal.LicenseDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILicenseUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LicenseUpdateProperties()); set { {_property = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Machine.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Machine.cs
index ecbde90d6ca5..8c9c81628cc0 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Machine.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Machine.cs
@@ -207,7 +207,7 @@ public partial class Machine :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// The city or locality where the resource is located.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
@@ -226,166 +226,190 @@ public partial class Machine :
public string LocationDataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LocationDataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LocationDataName = value ?? null; }
/// Internal Acessors for AdFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AdFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AdFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AdFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AdFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AdFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AdFqdn = value ?? null; }
/// Internal Acessors for AgentConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfiguration = value ?? null /* model class */; }
/// Internal Acessors for AgentConfigurationConfigMode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode = value ?? null; }
/// Internal Acessors for AgentConfigurationExtensionsAllowList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsBlockList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationGuestConfigurationEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationIncomingConnectionsPort
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyBypass
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyUrl
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl = value ?? null; }
/// Internal Acessors for AgentUpgrade
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgrade = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgrade = value ?? null /* model class */; }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value ?? null; }
/// Internal Acessors for AgentVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).AgentVersion = value ?? null; }
/// Internal Acessors for CloudMetadata
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadata = value ?? null /* model class */; }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider = value ?? null; }
/// Internal Acessors for DetectedProperty
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DetectedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DetectedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DetectedProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DetectedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DetectedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DetectedProperty = value ?? null /* model class */; }
/// Internal Acessors for DisplayName
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DisplayName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DisplayName = value ?? null; }
/// Internal Acessors for DnsFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DnsFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DnsFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DnsFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DnsFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DnsFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DnsFqdn = value ?? null; }
/// Internal Acessors for DomainName
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DomainName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).DomainName = value ?? null; }
/// Internal Acessors for ErrorDetail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ErrorDetail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ErrorDetail = value ?? null /* arrayOf */; }
/// Internal Acessors for FirmwareProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.FirmwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.FirmwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfile = value ?? null /* model class */; }
/// Internal Acessors for FirmwareProfileSerialNumber
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber = value ?? null; }
/// Internal Acessors for FirmwareProfileType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).FirmwareProfileType = value ?? null; }
/// Internal Acessors for Fqdn
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).MachineFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).MachineFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).MachineFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).MachineFqdn = value ?? null; }
/// Internal Acessors for HardwareProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfile = value ?? null /* model class */; }
/// Internal Acessors for HardwareProfileNumberOfCpuSocket
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket = value ?? default(int); }
/// Internal Acessors for HardwareProfileProcessor
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor = value ?? null /* arrayOf */; }
/// Internal Acessors for HardwareProfileTotalPhysicalMemoryInByte
- long? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte = value ?? default(long); }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LastStatusChange
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.LastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LastStatusChange = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.LastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LastStatusChange = value ?? default(global::System.DateTime); }
/// Internal Acessors for LocationData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LocationData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).LocationData = value ?? null /* model class */; }
/// Internal Acessors for NetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfile = value ?? null /* model class */; }
+
+ /// Internal Acessors for NetworkProfileNetworkInterface
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface = value ?? null /* arrayOf */; }
/// Internal Acessors for OSEdition
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSEdition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSEdition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSEdition = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSEdition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSEdition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSEdition = value ?? null; }
/// Internal Acessors for OSName
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSName = value ?? null; }
/// Internal Acessors for OSSku
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSSku = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSSku = value ?? null; }
/// Internal Acessors for OSVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.OSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).OSVersion = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.MachineProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Resource
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.Resource { get => this._resource; set { {_resource = value;} } }
/// Internal Acessors for ServiceStatuses
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatuses = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatuses = value ?? null /* model class */; }
/// Internal Acessors for ServiceStatusesExtensionService
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService = value ?? null /* model class */; }
/// Internal Acessors for ServiceStatusesGuestConfigurationService
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService = value ?? null /* model class */; }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for StorageProfile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfile = value ?? null /* model class */; }
+
+ /// Internal Acessors for StorageProfileDisk
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfileDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfileDisk = value ?? null /* arrayOf */; }
/// Internal Acessors for VMUuid
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.VMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).VMUuid = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInternal.VMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).VMUuid = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Specifies whether any MS SQL instance is discovered on the machine.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
@@ -397,7 +421,7 @@ public partial class Machine :
/// The list of network interfaces.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; }
/// The edition of the Operating System.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
@@ -461,37 +485,37 @@ public partial class Machine :
/// The disks on the machine.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfileDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfileDisk = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal)Property).StorageProfileDisk; }
///
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineAssessPatchesResult.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineAssessPatchesResult.cs
index 4a5389268d24..306920215b57 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineAssessPatchesResult.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineAssessPatchesResult.cs
@@ -108,49 +108,49 @@ public partial class MachineAssessPatchesResult :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassification Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassification { get => (this._availablePatchCountByClassification = this._availablePatchCountByClassification ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.AvailablePatchCountByClassification()); set { {_availablePatchCountByClassification = value;} } }
/// Internal Acessors for AvailablePatchCountByClassificationCritical
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationCritical { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationCritical { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationDefinition
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationDefinition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationDefinition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationFeaturePack
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationFeaturePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationFeaturePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationOther
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationOther { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationOther { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationSecurity
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationSecurity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationSecurity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationServicePack
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationServicePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationServicePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationTool
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationTool { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationTool { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationUpdate
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationUpdateRollup
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdateRollup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdateRollup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup = value ?? default(int); }
/// Internal Acessors for ErrorDetail
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ErrorDetail()); set { {_errorDetail = value;} } }
/// Internal Acessors for ErrorDetailAdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailCode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code = value ?? null; }
/// Internal Acessors for ErrorDetailDetails
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message = value ?? null; }
/// Internal Acessors for ErrorDetailTarget
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target = value ?? null; }
/// Internal Acessors for LastModifiedDateTime
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineAssessPatchesResultInternal.LastModifiedDateTime { get => this._lastModifiedDateTime; set { {_lastModifiedDateTime = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineExtension.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineExtension.cs
index ffa465533395..8ad8ddfc3dc1 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineExtension.cs
+++ b/generated/ArcGateway/ArcGateway.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.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for InstanceView
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceView = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceView = value ?? null /* model class */; }
/// Internal Acessors for InstanceViewStatus
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.MachineExtensionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -144,31 +162,31 @@ public partial class MachineExtension :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineExtensionProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineExtensionProperties.cs
index 708a47b9cfc4..5776152b0398 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineExtensionProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineExtensionProperties.cs
@@ -64,7 +64,7 @@ public partial class MachineExtensionProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal.InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.MachineExtensionInstanceView()); set { {_instanceView = value;} } }
/// Internal Acessors for InstanceViewStatus
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineExtensionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineInstallPatchesResult.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineInstallPatchesResult.cs
index 6e1f8c822593..0c26bf19973b 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineInstallPatchesResult.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineInstallPatchesResult.cs
@@ -94,19 +94,19 @@ public partial class MachineInstallPatchesResult :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ErrorDetail()); set { {_errorDetail = value;} } }
/// Internal Acessors for ErrorDetailAdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailCode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Code = value ?? null; }
/// Internal Acessors for ErrorDetailDetails
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Message = value ?? null; }
/// Internal Acessors for ErrorDetailTarget
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)ErrorDetail).Target = value ?? null; }
/// Internal Acessors for ExcludedPatchCount
int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineInstallPatchesResultInternal.ExcludedPatchCount { get => this._excludedPatchCount; set { {_excludedPatchCount = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineProperties.cs
index 65edc007caae..ea10516e9dd0 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineProperties.cs
@@ -269,43 +269,43 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfiguration { get => (this._agentConfiguration = this._agentConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.AgentConfiguration()); set { {_agentConfiguration = value;} } }
/// Internal Acessors for AgentConfigurationConfigMode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode = value ?? null; }
/// Internal Acessors for AgentConfigurationExtensionsAllowList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsBlockList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationGuestConfigurationEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationIncomingConnectionsPort
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyBypass
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyUrl
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl = value ?? null; }
/// Internal Acessors for AgentUpgrade
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgrade { get => (this._agentUpgrade = this._agentUpgrade ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.AgentUpgrade()); set { {_agentUpgrade = value;} } }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value ?? null; }
/// Internal Acessors for AgentVersion
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.AgentVersion { get => this._agentVersion; set { {_agentVersion = value;} } }
@@ -314,7 +314,7 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.CloudMetadata { get => (this._cloudMetadata = this._cloudMetadata ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.CloudMetadata()); set { {_cloudMetadata = value;} } }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider = value ?? null; }
/// Internal Acessors for DetectedProperty
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.DetectedProperty { get => (this._detectedProperty = this._detectedProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.DetectedProperties()); set { {_detectedProperty = value;} } }
@@ -335,22 +335,22 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.FirmwareProfile { get => (this._firmwareProfile = this._firmwareProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.FirmwareProfile()); set { {_firmwareProfile = value;} } }
/// Internal Acessors for FirmwareProfileSerialNumber
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber = value ?? null; }
/// Internal Acessors for FirmwareProfileType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IFirmwareProfileInternal)FirmwareProfile).Type = value ?? null; }
/// Internal Acessors for HardwareProfile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.HardwareProfile { get => (this._hardwareProfile = this._hardwareProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.HardwareProfile()); set { {_hardwareProfile = value;} } }
/// Internal Acessors for HardwareProfileNumberOfCpuSocket
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket = value ?? default(int); }
/// Internal Acessors for HardwareProfileProcessor
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).Processor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).Processor = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).Processor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).Processor = value ?? null /* arrayOf */; }
/// Internal Acessors for HardwareProfileTotalPhysicalMemoryInByte
- long? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte = value ?? default(long); }
/// Internal Acessors for LastStatusChange
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.LastStatusChange { get => this._lastStatusChange; set { {_lastStatusChange = value;} } }
@@ -364,6 +364,9 @@ public partial class MachineProperties :
/// Internal Acessors for NetworkProfile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.NetworkProfile()); set { {_networkProfile = value;} } }
+ /// Internal Acessors for NetworkProfileNetworkInterface
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface = value ?? null /* arrayOf */; }
+
/// Internal Acessors for OSEdition
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.OSEdition { get => this._oSEdition; set { {_oSEdition = value;} } }
@@ -383,10 +386,10 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.ServiceStatuses { get => (this._serviceStatuses = this._serviceStatuses ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ServiceStatuses()); set { {_serviceStatuses = value;} } }
/// Internal Acessors for ServiceStatusesExtensionService
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService = value ?? null /* model class */; }
/// Internal Acessors for ServiceStatusesGuestConfigurationService
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService = value ?? null /* model class */; }
/// Internal Acessors for Status
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.Status { get => this._status; set { {_status = value;} } }
@@ -394,6 +397,9 @@ public partial class MachineProperties :
/// Internal Acessors for StorageProfile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.StorageProfile()); set { {_storageProfile = value;} } }
+ /// Internal Acessors for StorageProfileDisk
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfileInternal)StorageProfile).Disk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfileInternal)StorageProfile).Disk = value ?? null /* arrayOf */; }
+
/// Internal Acessors for VMUuid
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachinePropertiesInternal.VMUuid { get => this._vMUuid; set { {_vMUuid = value;} } }
@@ -413,7 +419,7 @@ public partial class MachineProperties :
/// The list of network interfaces.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; }
/// Backing field for property.
private string _oSEdition;
@@ -503,7 +509,7 @@ public partial class MachineProperties :
/// The disks on the machine.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfileInternal)StorageProfile).Disk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfileInternal)StorageProfile).Disk = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IStorageProfileInternal)StorageProfile).Disk; }
/// Backing field for property.
private string _vMId;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommand.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommand.cs
index 1231d944a3ab..39d0fc80021e 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommand.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommand.cs
@@ -51,72 +51,114 @@ public partial class MachineRunCommand :
/// Script end time.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime; }
/// Script error stream.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError = value ?? null; }
+ public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError; }
/// Communicate script configuration errors or execution messages.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage = value ?? null; }
+ public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage; }
/// Script execution status.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState = value ?? null; }
+ public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState; }
/// Exit code returned from script execution.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode = value ?? default(int); }
+ public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode; }
/// Script output stream.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput = value ?? null; }
+ public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput; }
/// Script start time.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime; }
/// The status information.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses; }
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for ErrorBlobManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.ErrorBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.ErrorBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity = value ?? null /* model class */; }
/// Internal Acessors for InstanceView
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView = value ?? null /* model class */; }
+
+ /// Internal Acessors for InstanceViewEndTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewError
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionState
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExitCode
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode = value ?? default(int); }
+
+ /// Internal Acessors for InstanceViewOutput
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput = value ?? null; }
+
+ /// Internal Acessors for InstanceViewStartTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewStatuses
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses = value ?? null /* arrayOf */; }
/// Internal Acessors for OutputBlobManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.OutputBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.OutputBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.MachineRunCommandProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Source
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).Source = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).Source = value ?? null /* model class */; }
/// Internal Acessors for SourceScriptUriManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -204,31 +246,31 @@ public partial class MachineRunCommand :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommandProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommandProperties.cs
index 6f83ce79c008..3f068cb12984 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommandProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineRunCommandProperties.cs
@@ -65,35 +65,35 @@ public partial class MachineRunCommandProperties :
/// Script end time.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime; }
/// Script error stream.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error = value ?? null; }
+ public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error; }
/// Communicate script configuration errors or execution messages.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage = value ?? null; }
+ public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage; }
/// Script execution status.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState = value ?? null; }
+ public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState; }
/// Exit code returned from script execution.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode = value ?? default(int); }
+ public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode; }
/// Script output stream.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output = value ?? null; }
+ public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output; }
/// Script start time.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime; }
/// The status information.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses; }
/// Internal Acessors for ErrorBlobManagedIdentity
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.ErrorBlobManagedIdentity { get => (this._errorBlobManagedIdentity = this._errorBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.RunCommandManagedIdentity()); set { {_errorBlobManagedIdentity = value;} } }
@@ -101,6 +101,30 @@ public partial class MachineRunCommandProperties :
/// Internal Acessors for InstanceView
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.MachineRunCommandInstanceView()); set { {_instanceView = value;} } }
+ /// Internal Acessors for InstanceViewEndTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewError
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionState
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExitCode
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode = value ?? default(int); }
+
+ /// Internal Acessors for InstanceViewOutput
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output = value ?? null; }
+
+ /// Internal Acessors for InstanceViewStartTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewStatuses
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses = value ?? null /* arrayOf */; }
+
/// Internal Acessors for OutputBlobManagedIdentity
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.OutputBlobManagedIdentity { get => (this._outputBlobManagedIdentity = this._outputBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.RunCommandManagedIdentity()); set { {_outputBlobManagedIdentity = value;} } }
@@ -111,7 +135,7 @@ public partial class MachineRunCommandProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.Source { get => (this._source = this._source ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.MachineRunCommandScriptSource()); set { {_source = value;} } }
/// Internal Acessors for SourceScriptUriManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandPropertiesInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IRunCommandManagedIdentity _outputBlobManagedIdentity;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdate.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdate.cs
index b02e8d3223db..18f4dc809328 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdate.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdate.cs
@@ -95,37 +95,37 @@ public partial class MachineUpdate :
public string LocationDataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).LocationDataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).LocationDataName = value ?? null; }
/// Internal Acessors for AgentUpgrade
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade = value ?? null /* model class */; }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value ?? null; }
/// Internal Acessors for CloudMetadata
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata = value ?? null /* model class */; }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LocationData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).LocationData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal)Property).LocationData = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.MachineUpdateProperties()); set { {_property = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdateProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdateProperties.cs
index ca72a4f95228..d649741ca27f 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdateProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/MachineUpdateProperties.cs
@@ -86,22 +86,22 @@ public partial class MachineUpdateProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgrade { get => (this._agentUpgrade = this._agentUpgrade ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.AgentUpgrade()); set { {_agentUpgrade = value;} } }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value ?? null; }
/// Internal Acessors for CloudMetadata
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.CloudMetadata { get => (this._cloudMetadata = this._cloudMetadata ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.CloudMetadata()); set { {_cloudMetadata = value;} } }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ICloudMetadataInternal)CloudMetadata).Provider = value ?? null; }
/// Internal Acessors for LocationData
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IMachineUpdatePropertiesInternal.LocationData { get => (this._locationData = this._locationData ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.LocationData()); set { {_locationData = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfiguration.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfiguration.cs
index e37db1bc7fc6..810285eae799 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfiguration.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfiguration.cs
@@ -53,49 +53,67 @@ public partial class NetworkConfiguration :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).Location = value ?? null; }
/// Internal Acessors for CandidatePublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey = value ?? null; }
/// Internal Acessors for CandidatePublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for CandidatePublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey = value ?? null; }
/// Internal Acessors for ClientPublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for KeyProperty
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.KeyProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.KeyProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty = value ?? null /* model class */; }
/// Internal Acessors for KeyPropertyCandidatePublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey = value ?? null /* model class */; }
/// Internal Acessors for KeyPropertyClientPublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.NetworkConfigurationProperties()); set { {_property = value;} } }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal)Property).TenantId = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -124,31 +142,31 @@ public partial class NetworkConfiguration :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; }
/// Azure resource tenant Id
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfigurationProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfigurationProperties.cs
index c1d5dc58ed1a..5dd7954e2a40 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfigurationProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkConfigurationProperties.cs
@@ -52,31 +52,31 @@ public partial class NetworkConfigurationProperties :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for CandidatePublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey = value ?? null; }
/// Internal Acessors for CandidatePublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for CandidatePublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey = value ?? null; }
/// Internal Acessors for ClientPublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for KeyProperty
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.KeyProperty { get => (this._keyProperty = this._keyProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.KeyProperties()); set { {_keyProperty = value;} } }
/// Internal Acessors for KeyPropertyCandidatePublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey = value ?? null /* model class */; }
/// Internal Acessors for KeyPropertyClientPublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey = value ?? null /* model class */; }
/// Internal Acessors for TenantId
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkConfigurationPropertiesInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs
index 6b78d89d460a..ad8af0b9695f 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs
@@ -27,52 +27,52 @@ public partial class NetworkSecurityPerimeterConfiguration :
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for NetworkSecurityPerimeter
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter = value ?? null /* model class */; }
/// Internal Acessors for NetworkSecurityPerimeterGuid
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterLocation
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation = value ?? null; }
/// Internal Acessors for Profile
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.Profile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.Profile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile = value ?? null /* model class */; }
/// Internal Acessors for ProfileAccessRule
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileAccessRulesVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion = value ?? default(int); }
/// Internal Acessors for ProfileDiagnosticSettingsVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion = value ?? default(int); }
/// Internal Acessors for ProfileEnabledLogCategory
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.NetworkSecurityPerimeterConfigurationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningIssue
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningIssue { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningIssue { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue = value ?? null /* arrayOf */; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceAssociation
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation = value ?? null /* model class */; }
/// Internal Acessors for ResourceAssociationAccessMode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode = value ?? null; }
/// Internal Acessors for ResourceAssociationName
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs
index 4f7796531b9f..f4057d625d0f 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs
@@ -17,31 +17,31 @@ public partial class NetworkSecurityPerimeterConfigurationProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeter { get => (this._networkSecurityPerimeter = this._networkSecurityPerimeter ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.NetworkSecurityPerimeter()); set { {_networkSecurityPerimeter = value;} } }
/// Internal Acessors for NetworkSecurityPerimeterGuid
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterLocation
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location = value ?? null; }
/// Internal Acessors for Profile
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfile Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.Profile { get => (this._profile = this._profile ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.NetworkSecurityPerimeterProfile()); set { {_profile = value;} } }
/// Internal Acessors for ProfileAccessRule
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileAccessRulesVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion = value ?? default(int); }
/// Internal Acessors for ProfileDiagnosticSettingsVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion = value ?? default(int); }
/// Internal Acessors for ProfileEnabledLogCategory
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name = value ?? null; }
/// Internal Acessors for ProvisioningIssue
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProvisioningIssue { get => this._provisioningIssue; set { {_provisioningIssue = value;} } }
@@ -53,10 +53,10 @@ public partial class NetworkSecurityPerimeterConfigurationProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociation { get => (this._resourceAssociation = this._resourceAssociation ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ResourceAssociation()); set { {_resourceAssociation = value;} } }
/// Internal Acessors for ResourceAssociationAccessMode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode = value ?? null; }
/// Internal Acessors for ResourceAssociationName
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAssociationInternal)ResourceAssociation).Name = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeter _networkSecurityPerimeter;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs
index bb6e53b2e996..5c1738d48180 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs
@@ -18,7 +18,10 @@ public partial class NetworkSecurityPerimeterConfigurationReconcileResult :
/// The URL of the resource used to check the status of the asynchronous operation.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Owned)]
- public string Location { get => this._location; set => this._location = value; }
+ public string Location { get => this._location; }
+
+ /// Internal Acessors for Location
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.INetworkSecurityPerimeterConfigurationReconcileResultInternal.Location { get => this._location; set { {_location = value;} } }
///
/// Creates an new instance.
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfile.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfile.cs
index 8e280da52ffa..b0562ffeb001 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfile.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfile.cs
@@ -64,7 +64,7 @@ public partial class OSProfile :
/// Indicates the current status of the hotpatch being enabled or disabled.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string LinuxConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus = value ?? null; }
+ public string LinuxConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus; }
/// Internal Acessors for ComputerName
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.ComputerName { get => this._computerName; set { {_computerName = value;} } }
@@ -73,57 +73,67 @@ public partial class OSProfile :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfiguration { get => (this._linuxConfiguration = this._linuxConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.OSProfileLinuxConfiguration()); set { {_linuxConfiguration = value;} } }
/// Internal Acessors for LinuxConfigurationPatchSetting
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatus
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusErrorAdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Code = value ?? null; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusErrorDetail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusErrorMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Message = value ?? null; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusErrorTarget
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).Target = value ?? null; }
+
+ ///
+ /// Internal Acessors for LinuxConfigurationPatchSettingsStatusHotpatchEnablementStatus
+ ///
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus = value ?? null; }
/// Internal Acessors for WindowConfigurationPatchSetting
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting = value ?? null /* model class */; }
/// Internal Acessors for WindowsConfiguration
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfiguration { get => (this._windowsConfiguration = this._windowsConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.OSProfileWindowsConfiguration()); set { {_windowsConfiguration = value;} } }
/// Internal Acessors for WindowsConfigurationPatchSettingsStatus
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSettingStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSettingStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSettingStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSettingStatus = value ?? null /* model class */; }
/// Internal Acessors for WindowsConfigurationPatchSettingsStatusError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusError = value ?? null /* model class */; }
///
/// Internal Acessors for WindowsConfigurationPatchSettingsStatusErrorAdditionalInfo
///
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for WindowsConfigurationPatchSettingsStatusErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Code = value ?? null; }
/// Internal Acessors for WindowsConfigurationPatchSettingsStatusErrorDetail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for WindowsConfigurationPatchSettingsStatusErrorMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Message = value ?? null; }
/// Internal Acessors for WindowsConfigurationPatchSettingsStatusErrorTarget
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusErrorTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).Target = value ?? null; }
+
+ ///
+ /// Internal Acessors for WindowsConfigurationPatchSettingsStatusHotpatchEnablementStatus
+ ///
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileInternal.WindowsConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusHotpatchEnablementStatus = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfiguration _windowsConfiguration;
@@ -169,7 +179,7 @@ public partial class OSProfile :
/// Indicates the current status of the hotpatch being enabled or disabled.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string WindowsConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusHotpatchEnablementStatus = value ?? null; }
+ public string WindowsConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).StatusHotpatchEnablementStatus; }
/// Creates an new instance.
public OSProfile()
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileLinuxConfiguration.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileLinuxConfiguration.cs
index 4b6d443f1f94..97ed3fafd570 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileLinuxConfiguration.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileLinuxConfiguration.cs
@@ -30,28 +30,31 @@ public partial class OSProfileLinuxConfiguration :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message = value ?? null; }
/// Internal Acessors for PatchSetting
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.PatchSetting { get => (this._patchSetting = this._patchSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.PatchSettings()); set { {_patchSetting = value;} } }
/// Internal Acessors for PatchSettingStatus
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.PatchSettingStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.PatchSettingStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status = value ?? null /* model class */; }
/// Internal Acessors for StatusError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.StatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.StatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError = value ?? null /* model class */; }
+
+ /// Internal Acessors for StatusHotpatchEnablementStatus
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileLinuxConfigurationInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings _patchSetting;
@@ -77,7 +80,7 @@ public partial class OSProfileLinuxConfiguration :
/// Indicates the current status of the hotpatch being enabled or disabled.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus = value ?? null; }
+ public string StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileWindowsConfiguration.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileWindowsConfiguration.cs
index 99d4de58d310..4922e8a13f90 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileWindowsConfiguration.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OSProfileWindowsConfiguration.cs
@@ -30,28 +30,31 @@ public partial class OSProfileWindowsConfiguration :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Message = value ?? null; }
/// Internal Acessors for PatchSetting
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.PatchSetting { get => (this._patchSetting = this._patchSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.PatchSettings()); set { {_patchSetting = value;} } }
/// Internal Acessors for PatchSettingStatus
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.PatchSettingStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.PatchSettingStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Status = value ?? null /* model class */; }
/// Internal Acessors for StatusError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.StatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.StatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusError = value ?? null /* model class */; }
+
+ /// Internal Acessors for StatusHotpatchEnablementStatus
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOSProfileWindowsConfigurationInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).Target = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettings _patchSetting;
@@ -77,7 +80,7 @@ public partial class OSProfileWindowsConfiguration :
/// Indicates the current status of the hotpatch being enabled or disabled.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus = value ?? null; }
+ public string StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal)PatchSetting).StatusHotpatchEnablementStatus; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OperationValue.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OperationValue.cs
index dcd50b620e93..28826451e7e7 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OperationValue.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/OperationValue.cs
@@ -47,16 +47,16 @@ public partial class OperationValue :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplay Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.OperationValueDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IOperationValueInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettings.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettings.cs
index 2bf69490ed06..b0727bb5cee4 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettings.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettings.cs
@@ -47,25 +47,28 @@ public partial class PatchSettings :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Message = value ?? null; }
/// Internal Acessors for Status
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.PatchSettingsStatus()); set { {_status = value;} } }
/// Internal Acessors for StatusError
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.StatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.StatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Error = value ?? null /* model class */; }
+
+ /// Internal Acessors for StatusHotpatchEnablementStatus
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).HotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).HotpatchEnablementStatus = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).Target = value ?? null; }
/// Backing field for property.
private string _patchMode;
@@ -83,7 +86,7 @@ public partial class PatchSettings :
/// Indicates the current status of the hotpatch being enabled or disabled.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).HotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).HotpatchEnablementStatus = value ?? null; }
+ public string StatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal)Status).HotpatchEnablementStatus; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettingsStatus.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettingsStatus.cs
index 309af3488dc5..d09b22998973 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettingsStatus.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PatchSettingsStatus.cs
@@ -46,22 +46,22 @@ public partial class PatchSettingsStatus :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPatchSettingsStatusInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnection.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnection.cs
index 3f4715cd0447..494b6f580dc2 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnection.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnection.cs
@@ -30,34 +30,52 @@ public partial class PrivateEndpointConnection :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; }
/// Internal Acessors for GroupId
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value ?? null /* arrayOf */; }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStateProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStateProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionStateActionsRequired
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -98,31 +116,31 @@ public partial class PrivateEndpointConnection :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionDataModel.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionDataModel.cs
index 0f75ae925782..374a0596ad04 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionDataModel.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionDataModel.cs
@@ -27,7 +27,7 @@ public partial class PrivateEndpointConnectionDataModel :
public string Id { get => this._id; }
/// Internal Acessors for GroupId
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).GroupId = value ?? null /* arrayOf */; }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.Id { get => this._id; set { {_id = value;} } }
@@ -36,19 +36,19 @@ public partial class PrivateEndpointConnectionDataModel :
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStateProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStateProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for PrivateLinkServiceConnectionStateActionsRequired
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateActionsRequired = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionDataModelInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
index e3c1ee114778..af6909a1e037 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
@@ -30,7 +30,7 @@ public partial class PrivateEndpointConnectionProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStateProperty Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.PrivateLinkServiceConnectionStateProperty()); set { {_privateLinkServiceConnectionState = value;} } }
/// Internal Acessors for PrivateLinkServiceConnectionStateActionsRequired
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).ActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).ActionsRequired = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionStateActionsRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).ActionsRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).ActionsRequired = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateEndpointConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkResource.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkResource.cs
index a8aaa2addb1c..ade732a9f050 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkResource.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkResource.cs
@@ -30,28 +30,46 @@ public partial class PrivateLinkResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; }
/// Internal Acessors for GroupId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.PrivateLinkResourceProperties()); set { {_property = value;} } }
/// Internal Acessors for RequiredMember
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value ?? null /* arrayOf */; }
/// Internal Acessors for RequiredZoneName
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceInternal.RequiredZoneName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourceInternal.RequiredZoneName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName = value ?? null /* arrayOf */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -80,31 +98,31 @@ public partial class PrivateLinkResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkScopesResource.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkScopesResource.cs
index cfc3487b1078..56b041c8c196 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkScopesResource.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/PrivateLinkScopesResource.cs
@@ -80,7 +80,7 @@ public partial interface IPrivateLinkScopesResource :
string Id { get; }
/// Resource location
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProductFeature.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProductFeature.cs
index 8125786d429d..2b37e8d95748 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProductFeature.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProductFeature.cs
@@ -67,7 +67,7 @@ public partial class ProductFeature :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for BillingEndDate
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.BillingEndDate { get => this._billingEndDate; set { {_billingEndDate = value;} } }
@@ -76,10 +76,10 @@ public partial class ProductFeature :
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.BillingStartDate { get => this._billingStartDate; set { {_billingStartDate = value;} } }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for DisenrollmentDate
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.DisenrollmentDate { get => this._disenrollmentDate; set { {_disenrollmentDate = value;} } }
@@ -91,10 +91,10 @@ public partial class ProductFeature :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProductFeatureInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// Backing field for property.
private string _name;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProvisioningIssue.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProvisioningIssue.cs
index 21144a27908e..43c5551205f3 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProvisioningIssue.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProvisioningIssue.cs
@@ -22,10 +22,10 @@ public partial class ProvisioningIssue :
public string IssueType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).IssueType; }
/// Internal Acessors for Description
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Description = value ?? null; }
/// Internal Acessors for IssueType
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.IssueType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).IssueType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).IssueType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.IssueType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).IssueType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).IssueType = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.Name { get => this._name; set { {_name = value;} } }
@@ -34,13 +34,13 @@ public partial class ProvisioningIssue :
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ProvisioningIssueProperties()); set { {_property = value;} } }
/// Internal Acessors for Severity
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.Severity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Severity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Severity = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.Severity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Severity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).Severity = value ?? null; }
/// Internal Acessors for SuggestedAccessRule
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.SuggestedAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedAccessRule = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.SuggestedAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedAccessRule = value ?? null /* arrayOf */; }
/// Internal Acessors for SuggestedResourceId
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.SuggestedResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedResourceId = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssueInternal.SuggestedResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IProvisioningIssuePropertiesInternal)Property).SuggestedResourceId = value ?? null /* arrayOf */; }
/// Backing field for property.
private string _name;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResource.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResource.cs
index 3d8bf59c791b..414d8516d5da 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResource.cs
@@ -28,16 +28,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -47,31 +65,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResourceAutoGenerated.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResourceAutoGenerated.cs
index bb996ed0fbe5..a6bee67fd0be 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResourceAutoGenerated.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ProxyResourceAutoGenerated.cs
@@ -27,16 +27,34 @@ public partial class ProxyResourceAutoGenerated :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -46,31 +64,31 @@ public partial class ProxyResourceAutoGenerated :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Resource.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Resource.cs
index c8bd9a899218..f584a0b45e19 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Resource.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ResourceAutoGenerated.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ResourceAutoGenerated.cs
index 6a80900b4f98..f1c10a98b396 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ResourceAutoGenerated.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/ResourceAutoGenerated.cs
@@ -33,6 +33,24 @@ public partial class ResourceAutoGenerated :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => this._type; set { {_type = value;} } }
@@ -54,27 +72,27 @@ public partial class ResourceAutoGenerated :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Settings.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Settings.cs
index 82a16ffb82ab..622f9733ad8c 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Settings.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/Settings.cs
@@ -29,25 +29,43 @@ public partial class Settings :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value ?? null; }
/// Internal Acessors for GatewayProperty
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsGatewayProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsInternal.GatewayProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).GatewayProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).GatewayProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsGatewayProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsInternal.GatewayProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).GatewayProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).GatewayProperty = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsProperties Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.SettingsProperties()); set { {_property = value;} } }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISettingsPropertiesInternal)Property).TenantId = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -68,31 +86,31 @@ public partial class Settings :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; }
/// Azure resource tenant Id
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inlined)]
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/TrackedResource.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/TrackedResource.cs
index 7545537bdfea..f4d7cd18a914 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/ArcGateway/ArcGateway.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.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs
index afd641f2333b..60e9e6ad7fc2 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/api/Models/TrackedResourceAutoGenerated.cs
@@ -35,16 +35,34 @@ public partial class TrackedResourceAutoGenerated :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
@@ -54,31 +72,31 @@ public partial class TrackedResourceAutoGenerated :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.IResourceAutoGeneratedInternal)__resourceAutoGenerated).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Models.ITrackedResourceTags _tag;
@@ -118,7 +136,7 @@ public partial interface ITrackedResourceAutoGenerated :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 0160d35a582b..6f95b1918586 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ArcGateway/ArcGateway.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/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index bfda048c78e1..8e129eca7278 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.ArcGateway.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 +316,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.ArcGateway.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/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index e6b318403ade..f7020e5fbc1b 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ArcGateway/ArcGateway.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/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index e2a5216f6eda..546a57cdd4ac 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/ArcGateway/ArcGateway.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/ArcGateway/ArcGateway.Autorest/generated/runtime/MessageAttribute.cs b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/MessageAttribute.cs
index 48552cd3ee8f..b5c385adae4f 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.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.ArcGateway" : @"";
+
//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/ArcGateway/ArcGateway.Autorest/generated/runtime/Properties/Resources.resx b/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ArcGateway/ArcGateway.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/ArcGateway/ArcGateway.Autorest/internal/New-AzArcGateway.ps1 b/generated/ArcGateway/ArcGateway.Autorest/internal/New-AzArcGateway.ps1
index 9065912e3605..eb9e92971593 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/internal/New-AzArcGateway.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/internal/New-AzArcGateway.ps1
@@ -61,7 +61,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : Describes an Arc Gateway.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AllowedFeature >]: Specifies the list of features that are enabled for this Gateway.
@@ -229,6 +229,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Create = 'Az.ArcGateway.private\New-AzArcGateway_Create';
CreateExpanded = 'Az.ArcGateway.private\New-AzArcGateway_CreateExpanded';
@@ -238,8 +241,6 @@ begin {
CreateViaJsonString = 'Az.ArcGateway.private\New-AzArcGateway_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -248,6 +249,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/ArcGateway/ArcGateway.Autorest/internal/ProxyCmdletDefinitions.ps1
index 923f9a33e924..9cb265534b62 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -61,7 +61,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : Describes an Arc Gateway.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AllowedFeature >]: Specifies the list of features that are enabled for this Gateway.
@@ -229,6 +229,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Create = 'Az.ArcGateway.private\New-AzArcGateway_Create';
CreateExpanded = 'Az.ArcGateway.private\New-AzArcGateway_CreateExpanded';
@@ -238,8 +241,6 @@ begin {
CreateViaJsonString = 'Az.ArcGateway.private\New-AzArcGateway_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -248,6 +249,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -279,9 +283,9 @@ end {
<#
.Synopsis
-patch the base Settings of the target resource.
+Patch the base Settings of the target resource.
.Description
-patch the base Settings of the target resource.
+Patch the base Settings of the target resource.
.Example
Update-AzArcSetting -ResourceGroupName "ytongtest" -SubscriptionId "00000000-0000-0000-0000-000000000000" -BaseProvider "Microsoft.HybridCompute" -BaseResourceName "testmachine" -BaseResourceType "machines" -GatewayResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/gateways/myArcGateway"
@@ -479,6 +483,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Patch = 'Az.ArcGateway.private\Update-AzArcSetting_Patch';
PatchExpanded = 'Az.ArcGateway.private\Update-AzArcSetting_PatchExpanded';
@@ -488,8 +495,6 @@ begin {
PatchViaJsonString = 'Az.ArcGateway.private\Update-AzArcSetting_PatchViaJsonString';
}
if (('Patch', 'PatchExpanded', 'PatchViaJsonFilePath', 'PatchViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -498,6 +503,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/internal/Update-AzArcSetting.ps1 b/generated/ArcGateway/ArcGateway.Autorest/internal/Update-AzArcSetting.ps1
index c6b84844b1b1..5768417466b6 100644
--- a/generated/ArcGateway/ArcGateway.Autorest/internal/Update-AzArcSetting.ps1
+++ b/generated/ArcGateway/ArcGateway.Autorest/internal/Update-AzArcSetting.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-patch the base Settings of the target resource.
+Patch the base Settings of the target resource.
.Description
-patch the base Settings of the target resource.
+Patch the base Settings of the target resource.
.Example
Update-AzArcSetting -ResourceGroupName "ytongtest" -SubscriptionId "00000000-0000-0000-0000-000000000000" -BaseProvider "Microsoft.HybridCompute" -BaseResourceName "testmachine" -BaseResourceType "machines" -GatewayResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ytongtest/providers/Microsoft.HybridCompute/gateways/myArcGateway"
@@ -216,6 +216,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
Patch = 'Az.ArcGateway.private\Update-AzArcSetting_Patch';
PatchExpanded = 'Az.ArcGateway.private\Update-AzArcSetting_PatchExpanded';
@@ -225,8 +228,6 @@ begin {
PatchViaJsonString = 'Az.ArcGateway.private\Update-AzArcSetting_PatchViaJsonString';
}
if (('Patch', 'PatchExpanded', 'PatchViaJsonFilePath', 'PatchViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ArcGateway.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -235,6 +236,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ArcGateway/ArcGateway.Autorest/resources/README.md b/generated/ArcGateway/ArcGateway.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/ArcGateway/ArcGateway.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/ArizeAI/ArizeAI.Autorest/exports/New-AzArizeAIOrganization.ps1 b/generated/ArizeAI/ArizeAI.Autorest/exports/New-AzArizeAIOrganization.ps1
index 8d09638fe717..95e12a4b7d57 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/exports/New-AzArizeAIOrganization.ps1
+++ b/generated/ArizeAI/ArizeAI.Autorest/exports/New-AzArizeAIOrganization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a OrganizationResource
+Create a OrganizationResource
.Description
-create a OrganizationResource
+Create a OrganizationResource
.Example
New-AzArizeAIOrganization -Name "test-cli-instance-4" -Location "East US" -ResourceGroupName "QM_clitest_qumulo2_eastus" -SubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -MarketplaceSubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -OfferDetailOfferId "arize-liftr-0" -OfferDetailPlanId "liftr-test-0" -OfferDetailPlanName "Liftr Test 0" -OfferDetailTermUnit "P1M" -OfferDetailPublisherId "arizeai1657829589668" -OfferDetailTermId "gmz7xq9ge3py" -Tag @{"TestName" = "TestValue"} -UserEmailAddress "aggarwalsw@microsoft.com" -UserFirstName "" -UserLastName "" -UserUpn "aggarwalsw@microsoft.com"
diff --git a/generated/ArizeAI/ArizeAI.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ArizeAI/ArizeAI.Autorest/exports/ProxyCmdletDefinitions.ps1
index 5805b8f363c6..8773af4dd486 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ArizeAI/ArizeAI.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -227,9 +227,9 @@ end {
<#
.Synopsis
-create a OrganizationResource
+Create a OrganizationResource
.Description
-create a OrganizationResource
+Create a OrganizationResource
.Example
New-AzArizeAIOrganization -Name "test-cli-instance-4" -Location "East US" -ResourceGroupName "QM_clitest_qumulo2_eastus" -SubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -MarketplaceSubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -OfferDetailOfferId "arize-liftr-0" -OfferDetailPlanId "liftr-test-0" -OfferDetailPlanName "Liftr Test 0" -OfferDetailTermUnit "P1M" -OfferDetailPublisherId "arizeai1657829589668" -OfferDetailTermId "gmz7xq9ge3py" -Tag @{"TestName" = "TestValue"} -UserEmailAddress "aggarwalsw@microsoft.com" -UserFirstName "" -UserLastName "" -UserUpn "aggarwalsw@microsoft.com"
@@ -798,9 +798,9 @@ end {
<#
.Synopsis
-update a OrganizationResource
+Update a OrganizationResource
.Description
-update a OrganizationResource
+Update a OrganizationResource
.Example
Update-AzArizeAIOrganization -Name "test-cli-instance-4" -ResourceGroupName "QM_clitest_qumulo2_eastus" -SubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -MarketplaceSubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -OfferDetailOfferId "arize-liftr-0" -OfferDetailPlanId "liftr-test-0" -OfferDetailPlanName "Liftr Test 0" -OfferDetailTermUnit "P1M" -OfferDetailPublisherId "arizeai1657829589668" -OfferDetailTermId "gmz7xq9ge3py" -Tag @{"TestName1" = "TestValue1"} -UserEmailAddress "aggarwalsw@microsoft.com" -UserFirstName "" -UserLastName "" -UserUpn "aggarwalsw@microsoft.com"
diff --git a/generated/ArizeAI/ArizeAI.Autorest/exports/Update-AzArizeAIOrganization.ps1 b/generated/ArizeAI/ArizeAI.Autorest/exports/Update-AzArizeAIOrganization.ps1
index bf72b1e70540..6cf01deb1c2b 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/exports/Update-AzArizeAIOrganization.ps1
+++ b/generated/ArizeAI/ArizeAI.Autorest/exports/Update-AzArizeAIOrganization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a OrganizationResource
+Update a OrganizationResource
.Description
-update a OrganizationResource
+Update a OrganizationResource
.Example
Update-AzArizeAIOrganization -Name "test-cli-instance-4" -ResourceGroupName "QM_clitest_qumulo2_eastus" -SubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -MarketplaceSubscriptionId "fc35d936-3b89-41f8-8110-a24b56826c37" -OfferDetailOfferId "arize-liftr-0" -OfferDetailPlanId "liftr-test-0" -OfferDetailPlanName "Liftr Test 0" -OfferDetailTermUnit "P1M" -OfferDetailPublisherId "arizeai1657829589668" -OfferDetailTermId "gmz7xq9ge3py" -Tag @{"TestName1" = "TestValue1"} -UserEmailAddress "aggarwalsw@microsoft.com" -UserFirstName "" -UserLastName "" -UserUpn "aggarwalsw@microsoft.com"
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Components19Kgb1NSchemasAzureResourcemanagerCommontypesManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Components19Kgb1NSchemasAzureResourcemanagerCommontypesManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
index 8ba1b923bd40..32d6bf301fe5 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Components19Kgb1NSchemasAzureResourcemanagerCommontypesManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Components19Kgb1NSchemasAzureResourcemanagerCommontypesManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
@@ -23,10 +23,10 @@ public partial class Components19Kgb1NSchemasAzureResourcemanagerCommontypesMana
public string ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; }
/// Internal Acessors for ClientId
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal.ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal.ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId = value ?? null; }
/// Internal Acessors for PrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId = value ?? null; }
/// The principal ID of the assigned identity.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/ErrorResponse.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/ErrorResponse.cs
index 20f0cf7aa47d..04904d536199 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Operation.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Operation.cs
index aa87c29b9aed..7682655dcd7d 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Operation.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationProperties.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationProperties.cs
index 4bf8ab1d5489..cb0b2a77cc64 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationProperties.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationProperties.cs
@@ -32,10 +32,10 @@ public partial class OrganizationProperties :
Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal.Marketplace { get => (this._marketplace = this._marketplace ?? new Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.LiftrBaseMarketplaceDetails()); set { {_marketplace = value;} } }
/// Internal Acessors for MarketplaceOfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail = value ?? null /* model class */; }
/// Internal Acessors for MarketplaceSubscriptionStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal.MarketplaceSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal.MarketplaceSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionStatus = value ?? null; }
/// Internal Acessors for PartnerProperty
Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IPartnerProperties Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal.PartnerProperty { get => (this._partnerProperty = this._partnerProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.PartnerProperties()); set { {_partnerProperty = value;} } }
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationResource.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationResource.cs
index cc4997bf93c2..e326974f6556 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationResource.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/OrganizationResource.cs
@@ -61,7 +61,7 @@ public partial class OrganizationResource :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Azure subscription id for the the marketplace offer is purchased from
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
@@ -75,46 +75,64 @@ public partial class OrganizationResource :
Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Marketplace
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.Marketplace { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).Marketplace; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).Marketplace = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.Marketplace { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).Marketplace; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).Marketplace = value ?? null /* model class */; }
/// Internal Acessors for MarketplaceOfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceOfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceOfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceOfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceOfferDetail = value ?? null /* model class */; }
/// Internal Acessors for MarketplaceSubscriptionStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.MarketplaceSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceSubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceSubscriptionStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.MarketplaceSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceSubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).MarketplaceSubscriptionStatus = value ?? null; }
/// Internal Acessors for PartnerProperty
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IPartnerProperties Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.PartnerProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).PartnerProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).PartnerProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IPartnerProperties Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.PartnerProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).PartnerProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).PartnerProperty = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationProperties Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.OrganizationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SingleSignOnProperty
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseSingleSignOnPropertiesV2 Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.SingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).SingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).SingleSignOnProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseSingleSignOnPropertiesV2 Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.SingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).SingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).SingleSignOnProperty = value ?? null /* model class */; }
/// Internal Acessors for User
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseUserDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.User { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).User; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).User = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ILiftrBaseUserDetails Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationResourceInternal.User { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).User; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IOrganizationPropertiesInternal)Property).User = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
@@ -187,31 +205,31 @@ public partial class OrganizationResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Resource.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Resource.cs
index 72af1e9ad92b..907fd0ade52c 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Resource.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.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.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/TrackedResource.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/TrackedResource.cs
index 500022aaf0cb..1575a116c245 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/ArizeAI/ArizeAI.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.ArizeAI.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Origin(Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 90af02077108..f78d0fb731e8 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ArizeAI/ArizeAI.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/ArizeAI/ArizeAI.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index a4dddf36ac8d..a0cc3c9cefbf 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/ArizeAI/ArizeAI.Autorest/generated/runtime/MessageAttribute.cs b/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/MessageAttribute.cs
index d24ccd9d717b..29cdf617c528 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ArizeAI.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.ArizeAI" : @"";
+
//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/ArizeAI/ArizeAI.Autorest/generated/runtime/Properties/Resources.resx b/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ArizeAI/ArizeAI.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ArizeAI/ArizeAI.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/Astro/Astro.Autorest/exports/Get-AzAstroOrganization.ps1 b/generated/Astro/Astro.Autorest/exports/Get-AzAstroOrganization.ps1
index 1da251c57b50..5ec2e9ddf6ee 100644
--- a/generated/Astro/Astro.Autorest/exports/Get-AzAstroOrganization.ps1
+++ b/generated/Astro/Astro.Autorest/exports/Get-AzAstroOrganization.ps1
@@ -132,6 +132,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -156,8 +165,6 @@ begin {
List1 = 'Az.Astro.private\Get-AzAstroOrganization_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -171,6 +178,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/exports/New-AzAstroOrganization.ps1 b/generated/Astro/Astro.Autorest/exports/New-AzAstroOrganization.ps1
index dfc4c3ea1ada..1f9ee0fccf71 100644
--- a/generated/Astro/Astro.Autorest/exports/New-AzAstroOrganization.ps1
+++ b/generated/Astro/Astro.Autorest/exports/New-AzAstroOrganization.ps1
@@ -289,6 +289,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -312,8 +321,6 @@ begin {
CreateViaJsonString = 'Az.Astro.custom\New-AzAstroOrganization';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -327,6 +334,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Astro/Astro.Autorest/exports/ProxyCmdletDefinitions.ps1
index 0ddb095b270f..2fbd659e5f66 100644
--- a/generated/Astro/Astro.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Astro/Astro.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -132,6 +132,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -156,8 +165,6 @@ begin {
List1 = 'Az.Astro.private\Get-AzAstroOrganization_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -171,6 +178,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -345,6 +355,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -367,8 +386,6 @@ begin {
DeleteViaIdentity = 'Az.Astro.private\Remove-AzAstroOrganization_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -382,6 +399,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -700,6 +720,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -723,8 +752,6 @@ begin {
CreateViaJsonString = 'Az.Astro.custom\New-AzAstroOrganization';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -738,6 +765,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1041,6 +1071,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1065,8 +1104,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.Astro.custom\Update-AzAstroOrganization';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1080,6 +1117,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/exports/Remove-AzAstroOrganization.ps1 b/generated/Astro/Astro.Autorest/exports/Remove-AzAstroOrganization.ps1
index eec0d2923b6d..3b53bff01f72 100644
--- a/generated/Astro/Astro.Autorest/exports/Remove-AzAstroOrganization.ps1
+++ b/generated/Astro/Astro.Autorest/exports/Remove-AzAstroOrganization.ps1
@@ -145,6 +145,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -167,8 +176,6 @@ begin {
DeleteViaIdentity = 'Az.Astro.private\Remove-AzAstroOrganization_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -182,6 +189,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/exports/Update-AzAstroOrganization.ps1 b/generated/Astro/Astro.Autorest/exports/Update-AzAstroOrganization.ps1
index 49d8f271033f..d05f88e54102 100644
--- a/generated/Astro/Astro.Autorest/exports/Update-AzAstroOrganization.ps1
+++ b/generated/Astro/Astro.Autorest/exports/Update-AzAstroOrganization.ps1
@@ -274,6 +274,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -298,8 +307,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.Astro.custom\Update-AzAstroOrganization';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -313,6 +320,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/generated/api/Astro.cs b/generated/Astro/Astro.Autorest/generated/api/Astro.cs
index db6f47c1da19..23a89236c14c 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Astro.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Astro.cs
@@ -618,13 +618,13 @@ public partial class Astro
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.Astro.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.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");
@@ -772,13 +772,13 @@ public partial class Astro
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.Astro.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.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");
@@ -1043,13 +1043,13 @@ public partial class Astro
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.Astro.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.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");
@@ -2460,13 +2460,13 @@ public partial class Astro
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.Astro.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.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");
@@ -2615,13 +2615,13 @@ public partial class Astro
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.Astro.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Astro.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");
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Astro/Astro.Autorest/generated/api/Models/ErrorResponse.cs
index ba717e423606..15337e7da1f7 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataOrganizationProperties.cs b/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataOrganizationProperties.cs
index 271960ae272d..3a85307e3e38 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataOrganizationProperties.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataOrganizationProperties.cs
@@ -22,7 +22,7 @@ public partial class LiftrBaseDataOrganizationProperties :
/// Azure subscription id for the the marketplace offer is purchased from
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string MarketplaceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionId = value ; }
+ public string MarketplaceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).SubscriptionId = value ?? null; }
/// Marketplace subscription status
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
@@ -32,30 +32,30 @@ public partial class LiftrBaseDataOrganizationProperties :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.Marketplace { get => (this._marketplace = this._marketplace ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseMarketplaceDetails()); set { {_marketplace = value;} } }
/// Internal Acessors for MarketplaceOfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetail = value ?? null /* model class */; }
/// Internal Acessors for PartnerOrganizationProperty
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.PartnerOrganizationProperty { get => (this._partnerOrganizationProperty = this._partnerOrganizationProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseDataPartnerOrganizationProperties()); set { {_partnerOrganizationProperty = value;} } }
/// Internal Acessors for PartnerOrganizationPropertySingleSignOnProperty
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnProperty = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
/// Internal Acessors for SingleSignOnPropertyProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState = value ?? null; }
/// Internal Acessors for User
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseUserDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal.User { get => (this._user = this._user ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseUserDetails()); set { {_user = value;} } }
/// Offer Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string OfferDetailOfferId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailOfferId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailOfferId = value ; }
+ public string OfferDetailOfferId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailOfferId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailOfferId = value ?? null; }
/// Plan Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string OfferDetailPlanId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPlanId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPlanId = value ; }
+ public string OfferDetailPlanId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPlanId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPlanId = value ?? null; }
/// Plan Name for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
@@ -63,7 +63,7 @@ public partial class LiftrBaseDataOrganizationProperties :
/// Publisher Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string OfferDetailPublisherId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPublisherId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPublisherId = value ; }
+ public string OfferDetailPublisherId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPublisherId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetailsInternal)Marketplace).OfferDetailPublisherId = value ?? null; }
/// Plan Display Name for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
@@ -162,7 +162,7 @@ public partial interface ILiftrBaseDataOrganizationProperties :
{
/// Azure subscription id for the the marketplace offer is purchased from
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -185,7 +185,7 @@ public partial interface ILiftrBaseDataOrganizationProperties :
string MarketplaceSubscriptionStatus { get; set; }
/// Offer Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -196,7 +196,7 @@ public partial interface ILiftrBaseDataOrganizationProperties :
string OfferDetailOfferId { get; set; }
/// Plan Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -218,7 +218,7 @@ public partial interface ILiftrBaseDataOrganizationProperties :
string OfferDetailPlanName { get; set; }
/// Publisher Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationProperties.cs b/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationProperties.cs
index 1614348a40c4..b422f631c8b9 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationProperties.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationProperties.cs
@@ -17,7 +17,7 @@ public partial class LiftrBaseDataPartnerOrganizationProperties :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal.SingleSignOnProperty { get => (this._singleSignOnProperty = this._singleSignOnProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseSingleSignOnProperties()); set { {_singleSignOnProperty = value;} } }
/// Internal Acessors for SingleSignOnPropertyProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState = value ?? null; }
/// Backing field for property.
private string _organizationId;
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationPropertiesUpdate.cs b/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationPropertiesUpdate.cs
index 66484e6253b9..7a838657cd22 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationPropertiesUpdate.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/LiftrBaseDataPartnerOrganizationPropertiesUpdate.cs
@@ -17,7 +17,7 @@ public partial class LiftrBaseDataPartnerOrganizationPropertiesUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal.SingleSignOnProperty { get => (this._singleSignOnProperty = this._singleSignOnProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseSingleSignOnProperties()); set { {_singleSignOnProperty = value;} } }
/// Internal Acessors for SingleSignOnPropertyProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnPropertiesInternal)SingleSignOnProperty).ProvisioningState = value ?? null; }
/// Backing field for property.
private string _organizationId;
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/Operation.cs b/generated/Astro/Astro.Autorest/generated/api/Models/Operation.cs
index 9707e15b7004..f07f5ad23dae 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResource.cs b/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResource.cs
index 730cd570e189..f80e1e05f191 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResource.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResource.cs
@@ -59,11 +59,11 @@ public partial class OrganizationResource :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Azure subscription id for the the marketplace offer is purchased from
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string MarketplaceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceSubscriptionId = value ; }
+ public string MarketplaceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceSubscriptionId = value ?? null; }
/// Marketplace subscription status
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
@@ -73,46 +73,64 @@ public partial class OrganizationResource :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Marketplace
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.Marketplace { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).Marketplace; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).Marketplace = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseMarketplaceDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.Marketplace { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).Marketplace; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).Marketplace = value ?? null /* model class */; }
/// Internal Acessors for MarketplaceOfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceOfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceOfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseOfferDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.MarketplaceOfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceOfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).MarketplaceOfferDetail = value ?? null /* model class */; }
/// Internal Acessors for PartnerOrganizationProperty
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.PartnerOrganizationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.PartnerOrganizationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationProperty = value ?? null /* model class */; }
/// Internal Acessors for PartnerOrganizationPropertySingleSignOnProperty
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseDataOrganizationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SingleSignOnPropertyProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).SingleSignOnPropertyProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).SingleSignOnPropertyProvisioningState = value ?? null; }
/// Internal Acessors for User
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseUserDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.User { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).User; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).User = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseUserDetails Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceInternal.User { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).User; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).User = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
@@ -120,11 +138,11 @@ public partial class OrganizationResource :
/// Offer Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string OfferDetailOfferId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailOfferId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailOfferId = value ; }
+ public string OfferDetailOfferId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailOfferId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailOfferId = value ?? null; }
/// Plan Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string OfferDetailPlanId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPlanId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPlanId = value ; }
+ public string OfferDetailPlanId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPlanId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPlanId = value ?? null; }
/// Plan Name for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
@@ -132,7 +150,7 @@ public partial class OrganizationResource :
/// Publisher Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string OfferDetailPublisherId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPublisherId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPublisherId = value ; }
+ public string OfferDetailPublisherId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPublisherId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).OfferDetailPublisherId = value ?? null; }
/// Plan Display Name for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
@@ -197,31 +215,31 @@ public partial class OrganizationResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
@@ -235,15 +253,15 @@ public partial class OrganizationResource :
/// Email address of the user
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string UserEmailAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserEmailAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserEmailAddress = value ; }
+ public string UserEmailAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserEmailAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserEmailAddress = value ?? null; }
/// First name of the user
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string UserFirstName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserFirstName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserFirstName = value ; }
+ public string UserFirstName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserFirstName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserFirstName = value ?? null; }
/// Last name of the user
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string UserLastName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserLastName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserLastName = value ; }
+ public string UserLastName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserLastName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataOrganizationPropertiesInternal)Property).UserLastName = value ?? null; }
/// User's phone number
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
@@ -333,7 +351,7 @@ public partial interface IOrganizationResource :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IUserAssignedIdentities IdentityUserAssignedIdentity { get; set; }
/// Azure subscription id for the the marketplace offer is purchased from
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -356,7 +374,7 @@ public partial interface IOrganizationResource :
string MarketplaceSubscriptionStatus { get; set; }
/// Offer Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -367,7 +385,7 @@ public partial interface IOrganizationResource :
string OfferDetailOfferId { get; set; }
/// Plan Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -389,7 +407,7 @@ public partial interface IOrganizationResource :
string OfferDetailPlanName { get; set; }
/// Publisher Id for the marketplace offer
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -535,7 +553,7 @@ public partial interface IOrganizationResource :
string SingleSignOnPropertySingleSignOnUrl { get; set; }
/// Email address of the user
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -546,7 +564,7 @@ public partial interface IOrganizationResource :
string UserEmailAddress { get; set; }
/// First name of the user
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
@@ -557,7 +575,7 @@ public partial interface IOrganizationResource :
string UserFirstName { get; set; }
/// Last name of the user
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdate.cs b/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdate.cs
index 47f3f28d5ccf..25e18858a3f3 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdate.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdate.cs
@@ -50,25 +50,25 @@ public partial class OrganizationResourceUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for PartnerOrganizationProperty
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.PartnerOrganizationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.PartnerOrganizationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationProperty = value ?? null /* model class */; }
/// Internal Acessors for PartnerOrganizationPropertySingleSignOnProperty
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).PartnerOrganizationPropertySingleSignOnProperty = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.OrganizationResourceUpdateProperties()); set { {_property = value;} } }
/// Internal Acessors for SingleSignOnPropertyProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).SingleSignOnPropertyProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).SingleSignOnPropertyProvisioningState = value ?? null; }
/// Internal Acessors for User
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseUserDetailsUpdate Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.User { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).User; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).User = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseUserDetailsUpdate Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdateInternal.User { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).User; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal)Property).User = value ?? null /* model class */; }
/// Organization Id in partner's system
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdateProperties.cs b/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdateProperties.cs
index c2f2e1468f83..06d507b9a126 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdateProperties.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/OrganizationResourceUpdateProperties.cs
@@ -17,10 +17,10 @@ public partial class OrganizationResourceUpdateProperties :
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdate Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal.PartnerOrganizationProperty { get => (this._partnerOrganizationProperty = this._partnerOrganizationProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseDataPartnerOrganizationPropertiesUpdate()); set { {_partnerOrganizationProperty = value;} } }
/// Internal Acessors for PartnerOrganizationPropertySingleSignOnProperty
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseSingleSignOnProperties Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal.PartnerOrganizationPropertySingleSignOnProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnProperty = value ?? null /* model class */; }
/// Internal Acessors for SingleSignOnPropertyProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal.SingleSignOnPropertyProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseDataPartnerOrganizationPropertiesUpdateInternal)PartnerOrganizationProperty).SingleSignOnPropertyProvisioningState = value ?? null; }
/// Internal Acessors for User
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ILiftrBaseUserDetailsUpdate Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResourceUpdatePropertiesInternal.User { get => (this._user = this._user ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.LiftrBaseUserDetailsUpdate()); set { {_user = value;} } }
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/Resource.cs b/generated/Astro/Astro.Autorest/generated/api/Models/Resource.cs
index 8f46a63b25b6..ab6a3f55326b 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Astro/Astro.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Astro.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.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/Astro/Astro.Autorest/generated/api/Models/TrackedResource.cs b/generated/Astro/Astro.Autorest/generated/api/Models/TrackedResource.cs
index 94afa711d6ff..0c7ab17f097e 100644
--- a/generated/Astro/Astro.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Astro/Astro.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.Astro.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Origin(Microsoft.Azure.PowerShell.Cmdlets.Astro.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index c9ff8a160126..2ce7df32fb8c 100644
--- a/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Astro/Astro.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/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 632f772621c0..0b2c879fa6a8 100644
--- a/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.Astro.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.Astro.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 +316,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.Astro.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/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index a67d6d841268..7f38b93fb2b5 100644
--- a/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Astro/Astro.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/Astro/Astro.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index 0426b7fcc785..901b079e8e54 100644
--- a/generated/Astro/Astro.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/Astro/Astro.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/Astro/Astro.Autorest/generated/runtime/MessageAttribute.cs b/generated/Astro/Astro.Autorest/generated/runtime/MessageAttribute.cs
index 7f0b66e32e09..fcacbaf807d6 100644
--- a/generated/Astro/Astro.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Astro/Astro.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Astro.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.Astro" : @"";
+
//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/Astro/Astro.Autorest/generated/runtime/Properties/Resources.resx b/generated/Astro/Astro.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Astro/Astro.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Astro/Astro.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/Astro/Astro.Autorest/internal/Get-AzAstroOperation.ps1 b/generated/Astro/Astro.Autorest/internal/Get-AzAstroOperation.ps1
index d6e570041ec7..79ed3f244fa5 100644
--- a/generated/Astro/Astro.Autorest/internal/Get-AzAstroOperation.ps1
+++ b/generated/Astro/Astro.Autorest/internal/Get-AzAstroOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Astro.private\Get-AzAstroOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/internal/New-AzAstroOrganization.ps1 b/generated/Astro/Astro.Autorest/internal/New-AzAstroOrganization.ps1
index ed0ce10a2cc0..acfab4e3bcba 100644
--- a/generated/Astro/Astro.Autorest/internal/New-AzAstroOrganization.ps1
+++ b/generated/Astro/Astro.Autorest/internal/New-AzAstroOrganization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a OrganizationResource
+Create a OrganizationResource
.Description
-create a OrganizationResource
+Create a OrganizationResource
.Example
New-AzAstroOrganization -Name UT.7.test -ResourceGroupName astro-user -Location eastus -MarketplaceSubscriptionId 11111111-2222-3333-4444-123456789101 -OfferDetailOfferId astro -OfferDetailPlanId astro-paygo -OfferDetailPublisherId astronomer1 -OfferDetailPlanName 'Monthly Pay-As-You-Go' -OfferDetailTermId abcdefghijkl -OfferDetailTermUnit Monthly -UserEmailAddress example@microsoft.com -UserFirstName user -UserLastName test -UserUpn example@microsoft.com -PartnerOrganizationPropertyWorkspaceName aaa -PartnerOrganizationPropertyOrganizationName bbb -SingleSignOnPropertyAadDomain MicrosoftCustomerLed.onmicrosoft.com
@@ -291,14 +291,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.Astro.private\New-AzAstroOrganization_CreateExpanded';
CreateViaJsonFilePath = 'Az.Astro.private\New-AzAstroOrganization_CreateViaJsonFilePath';
CreateViaJsonString = 'Az.Astro.private\New-AzAstroOrganization_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -307,6 +308,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Astro/Astro.Autorest/internal/ProxyCmdletDefinitions.ps1
index a70ae866efbf..8e0fdf790f0a 100644
--- a/generated/Astro/Astro.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/Astro/Astro.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Astro.private\Get-AzAstroOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -126,9 +132,9 @@ end {
<#
.Synopsis
-create a OrganizationResource
+Create a OrganizationResource
.Description
-create a OrganizationResource
+Create a OrganizationResource
.Example
New-AzAstroOrganization -Name UT.7.test -ResourceGroupName astro-user -Location eastus -MarketplaceSubscriptionId 11111111-2222-3333-4444-123456789101 -OfferDetailOfferId astro -OfferDetailPlanId astro-paygo -OfferDetailPublisherId astronomer1 -OfferDetailPlanName 'Monthly Pay-As-You-Go' -OfferDetailTermId abcdefghijkl -OfferDetailTermUnit Monthly -UserEmailAddress example@microsoft.com -UserFirstName user -UserLastName test -UserUpn example@microsoft.com -PartnerOrganizationPropertyWorkspaceName aaa -PartnerOrganizationPropertyOrganizationName bbb -SingleSignOnPropertyAadDomain MicrosoftCustomerLed.onmicrosoft.com
@@ -401,14 +407,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
CreateExpanded = 'Az.Astro.private\New-AzAstroOrganization_CreateExpanded';
CreateViaJsonFilePath = 'Az.Astro.private\New-AzAstroOrganization_CreateViaJsonFilePath';
CreateViaJsonString = 'Az.Astro.private\New-AzAstroOrganization_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -417,6 +424,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -448,9 +458,9 @@ end {
<#
.Synopsis
-update a OrganizationResource
+Update a OrganizationResource
.Description
-update a OrganizationResource
+Update a OrganizationResource
.Example
Update-AzAstroOrganization -Name UT.7.test -ResourceGroupName astro-user -UserUpn example@microsoft.com -PartnerOrganizationPropertyOrganizationId cccccccc -PartnerOrganizationPropertyWorkspaceId dddddddd -PartnerOrganizationPropertyWorkspaceName eeeeeee -PartnerOrganizationPropertyOrganizationName kkkkkkkkkkkk -SingleSignOnPropertyEnterpriseAppId llllllll -SingleSignOnPropertyAadDomain MicrosoftCustomerLed.onmicrosoft.com
@@ -708,6 +718,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Astro.private\Update-AzAstroOrganization_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.Astro.private\Update-AzAstroOrganization_UpdateViaIdentityExpanded';
@@ -715,8 +728,6 @@ begin {
UpdateViaJsonString = 'Az.Astro.private\Update-AzAstroOrganization_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -725,6 +736,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/internal/Update-AzAstroOrganization.ps1 b/generated/Astro/Astro.Autorest/internal/Update-AzAstroOrganization.ps1
index c373f0583d26..120a03300d94 100644
--- a/generated/Astro/Astro.Autorest/internal/Update-AzAstroOrganization.ps1
+++ b/generated/Astro/Astro.Autorest/internal/Update-AzAstroOrganization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a OrganizationResource
+Update a OrganizationResource
.Description
-update a OrganizationResource
+Update a OrganizationResource
.Example
Update-AzAstroOrganization -Name UT.7.test -ResourceGroupName astro-user -UserUpn example@microsoft.com -PartnerOrganizationPropertyOrganizationId cccccccc -PartnerOrganizationPropertyWorkspaceId dddddddd -PartnerOrganizationPropertyWorkspaceName eeeeeee -PartnerOrganizationPropertyOrganizationName kkkkkkkkkkkk -SingleSignOnPropertyEnterpriseAppId llllllll -SingleSignOnPropertyAadDomain MicrosoftCustomerLed.onmicrosoft.com
@@ -276,6 +276,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
UpdateExpanded = 'Az.Astro.private\Update-AzAstroOrganization_UpdateExpanded';
UpdateViaIdentityExpanded = 'Az.Astro.private\Update-AzAstroOrganization_UpdateViaIdentityExpanded';
@@ -283,8 +286,6 @@ begin {
UpdateViaJsonString = 'Az.Astro.private\Update-AzAstroOrganization_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -293,6 +294,9 @@ begin {
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Astro/Astro.Autorest/resources/README.md b/generated/Astro/Astro.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/Astro/Astro.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstance.cs b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstance.cs
index 8c50b00f3305..82f9680d2219 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstance.cs
+++ b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstance.cs
@@ -47,82 +47,82 @@ public partial class AzureBareMetalInstance :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for AzureBareMetalInstanceId
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.AzureBareMetalInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).AzureBareMetalInstanceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).AzureBareMetalInstanceId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.AzureBareMetalInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).AzureBareMetalInstanceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).AzureBareMetalInstanceId = value ?? null; }
/// Internal Acessors for HardwareProfile
- Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfile = value ?? null /* model class */; }
/// Internal Acessors for HardwareProfileAzureBareMetalInstanceSize
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HardwareProfileAzureBareMetalInstanceSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileAzureBareMetalInstanceSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileAzureBareMetalInstanceSize = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HardwareProfileAzureBareMetalInstanceSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileAzureBareMetalInstanceSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileAzureBareMetalInstanceSize = value ?? null; }
/// Internal Acessors for HardwareProfileHardwareType
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HardwareProfileHardwareType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileHardwareType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileHardwareType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HardwareProfileHardwareType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileHardwareType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HardwareProfileHardwareType = value ?? null; }
/// Internal Acessors for HwRevision
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HwRevision { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HwRevision; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HwRevision = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.HwRevision { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HwRevision; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).HwRevision = value ?? null; }
/// Internal Acessors for NetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfile = value ?? null /* model class */; }
/// Internal Acessors for NetworkProfileCircuitId
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.NetworkProfileCircuitId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfileCircuitId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfileCircuitId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.NetworkProfileCircuitId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfileCircuitId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).NetworkProfileCircuitId = value ?? null; }
/// Internal Acessors for OSProfile
- Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfile = value ?? null /* model class */; }
/// Internal Acessors for OSProfileOstype
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.OSProfileOstype { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileOstype; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileOstype = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.OSProfileOstype { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileOstype; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileOstype = value ?? null; }
/// Internal Acessors for OSProfileVersion
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.OSProfileVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.OSProfileVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).OSProfileVersion = value ?? null; }
/// Internal Acessors for PowerState
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).PowerState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.PowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).PowerState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceProperties Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.AzureBareMetalInstanceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ProximityPlacementGroup
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.ProximityPlacementGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProximityPlacementGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProximityPlacementGroup = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.ProximityPlacementGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProximityPlacementGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).ProximityPlacementGroup = value ?? null; }
/// Internal Acessors for StorageProfile
- Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfile = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileNfsIPAddress
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.StorageProfileNfsIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfileNfsIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfileNfsIPAddress = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.StorageProfileNfsIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfileNfsIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal)Property).StorageProfileNfsIPAddress = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstanceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Origin(Microsoft.Azure.PowerShell.Cmdlets.BareMetal.PropertyOrigin.Inherited)]
diff --git a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstanceProperties.cs b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstanceProperties.cs
index 9efcaf2390f3..82d4c84eaf5c 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstanceProperties.cs
+++ b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/AzureBareMetalInstanceProperties.cs
@@ -49,10 +49,10 @@ public partial class AzureBareMetalInstanceProperties :
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.HardwareProfile { get => (this._hardwareProfile = this._hardwareProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.HardwareProfile()); set { {_hardwareProfile = value;} } }
/// Internal Acessors for HardwareProfileAzureBareMetalInstanceSize
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.HardwareProfileAzureBareMetalInstanceSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).AzureBareMetalInstanceSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).AzureBareMetalInstanceSize = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.HardwareProfileAzureBareMetalInstanceSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).AzureBareMetalInstanceSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).AzureBareMetalInstanceSize = value ?? null; }
/// Internal Acessors for HardwareProfileHardwareType
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.HardwareProfileHardwareType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).HardwareType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).HardwareType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.HardwareProfileHardwareType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).HardwareType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IHardwareProfileInternal)HardwareProfile).HardwareType = value ?? null; }
/// Internal Acessors for HwRevision
string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.HwRevision { get => this._hwRevision; set { {_hwRevision = value;} } }
@@ -61,16 +61,16 @@ public partial class AzureBareMetalInstanceProperties :
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.NetworkProfile()); set { {_networkProfile = value;} } }
/// Internal Acessors for NetworkProfileCircuitId
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.NetworkProfileCircuitId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfileInternal)NetworkProfile).CircuitId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfileInternal)NetworkProfile).CircuitId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.NetworkProfileCircuitId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfileInternal)NetworkProfile).CircuitId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfileInternal)NetworkProfile).CircuitId = value ?? null; }
/// Internal Acessors for OSProfile
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.OSProfile { get => (this._oSProfile = this._oSProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.OSProfile()); set { {_oSProfile = value;} } }
/// Internal Acessors for OSProfileOstype
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.OSProfileOstype { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).OSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).OSType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.OSProfileOstype { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).OSType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).OSType = value ?? null; }
/// Internal Acessors for OSProfileVersion
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.OSProfileVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.OSProfileVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOSProfileInternal)OSProfile).Version = value ?? null; }
/// Internal Acessors for PowerState
string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.PowerState { get => this._powerState; set { {_powerState = value;} } }
@@ -85,7 +85,7 @@ public partial class AzureBareMetalInstanceProperties :
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.StorageProfile()); set { {_storageProfile = value;} } }
/// Internal Acessors for StorageProfileNfsIPAddress
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.StorageProfileNfsIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IStorageProfileInternal)StorageProfile).NfsIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IStorageProfileInternal)StorageProfile).NfsIPAddress = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IAzureBareMetalInstancePropertiesInternal.StorageProfileNfsIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IStorageProfileInternal)StorageProfile).NfsIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IStorageProfileInternal)StorageProfile).NfsIPAddress = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.INetworkProfile _networkProfile;
diff --git a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/ErrorResponse.cs b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/ErrorResponse.cs
index 7afb2f83c526..3b7a2b973fe0 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/ErrorResponse.cs
@@ -35,16 +35,16 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Message; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinition Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.ErrorDefinition()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IErrorDefinitionInternal)Error).Message = value ?? null; }
/// Creates an new instance.
public ErrorResponse()
diff --git a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/Operation.cs b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/Operation.cs
index 0f51cefcadcd..7b38b6c005c9 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/Operation.cs
+++ b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/Operation.cs
@@ -49,16 +49,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplay Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.Display()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/TrackedResource.cs b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/TrackedResource.cs
index 7a9f54a9aed2..461d3b32f578 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/BareMetal/BareMetal.Autorest/generated/api/Models/TrackedResource.cs
@@ -34,13 +34,13 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.BareMetal.Origin(Microsoft.Azure.PowerShell.Cmdlets.BareMetal.PropertyOrigin.Inherited)]
diff --git a/generated/BareMetal/BareMetal.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/BareMetal/BareMetal.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 2ff39b4c61fd..8c68004c1a90 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/BareMetal/BareMetal.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/BareMetal/BareMetal.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/BareMetal/BareMetal.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 1ea5833e8942..237f0ab276e7 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/BareMetal/BareMetal.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/BareMetal/BareMetal.Autorest/generated/runtime/MessageAttribute.cs b/generated/BareMetal/BareMetal.Autorest/generated/runtime/MessageAttribute.cs
index bef00986d793..282ac8e2a207 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/BareMetal/BareMetal.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.BareMetal.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.BareMetal" : @"";
+
//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/BareMetal/BareMetal.Autorest/generated/runtime/Properties/Resources.resx b/generated/BareMetal/BareMetal.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/BareMetal/BareMetal.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/BareMetal/BareMetal.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/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1 b/generated/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1
index b4f6c8db1659..943948a32380 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a reservation order alias.
+Create a reservation order alias.
.Description
-create a reservation order alias.
+Create a reservation order alias.
.Example
New-AzBillingBenefitsReservationOrderAlias -Name "PSRITest1" -AppliedScopeType "Shared" -BillingPlan "P1M" -BillingScopeId "/subscriptions/eef82110-c91b-4395-9420-fcfcbefc5a47" -SkuName "Standard_B1ls" -Location "westus" -Quantity 1 -ReservedResourceType 'VirtualMachines' -Term "P1Y" -DisplayName "PSRITest1"
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1 b/generated/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1
index 472ed7d509fb..e43bd6403729 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-create a savings plan.
+Create a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Description
-create a savings plan.
+Create a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Example
New-AzBillingBenefitsSavingsPlanOrderAlias -Name "PSTest1" -AppliedScopeType "Shared" -BillingPlan "P1M" `
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1
index f615ffbc46c8..44b727702271 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -1663,9 +1663,9 @@ end {
<#
.Synopsis
-create a reservation order alias.
+Create a reservation order alias.
.Description
-create a reservation order alias.
+Create a reservation order alias.
.Example
New-AzBillingBenefitsReservationOrderAlias -Name "PSRITest1" -AppliedScopeType "Shared" -BillingPlan "P1M" -BillingScopeId "/subscriptions/eef82110-c91b-4395-9420-fcfcbefc5a47" -SkuName "Standard_B1ls" -Location "westus" -Quantity 1 -ReservedResourceType 'VirtualMachines' -Term "P1Y" -DisplayName "PSRITest1"
@@ -1960,10 +1960,10 @@ end {
<#
.Synopsis
-create a savings plan.
+Create a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Description
-create a savings plan.
+Create a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Example
New-AzBillingBenefitsSavingsPlanOrderAlias -Name "PSTest1" -AppliedScopeType "Shared" -BillingPlan "P1M" `
@@ -2249,10 +2249,10 @@ end {
<#
.Synopsis
-update a savings plan.
+Update a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Description
-update a savings plan.
+Update a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Example
Update-AzBillingBenefitsSavingsPlanOrderAlias -Name "PSTest1" -AppliedScopeType "Shared" -BillingPlan "P1M" `
@@ -2544,9 +2544,9 @@ end {
<#
.Synopsis
-update savings plan.
+Update savings plan.
.Description
-update savings plan.
+Update savings plan.
.Example
Update-AzBillingBenefitsSavingsPlan -Id "f82fd820-f829-4022-8ba5-e3bf4ffc329b" -OrderId "e0b1f446-5684-4fa6-a0c8-d394368eda11" -DisplayName "NewName"
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1 b/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1
index a1da6897b4f3..0bfc8a1ff36f 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update savings plan.
+Update savings plan.
.Description
-update savings plan.
+Update savings plan.
.Example
Update-AzBillingBenefitsSavingsPlan -Id "f82fd820-f829-4022-8ba5-e3bf4ffc329b" -OrderId "e0b1f446-5684-4fa6-a0c8-d394368eda11" -DisplayName "NewName"
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlanOrderAlias.ps1 b/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlanOrderAlias.ps1
index c3f5778f8022..3e7dddb34c07 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlanOrderAlias.ps1
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlanOrderAlias.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-update a savings plan.
+Update a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Description
-update a savings plan.
+Update a savings plan.
Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
.Example
Update-AzBillingBenefitsSavingsPlanOrderAlias -Name "PSTest1" -AppliedScopeType "Shared" -BillingPlan "P1M" `
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ErrorResponse.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ErrorResponse.cs
index 0cc478086e89..fceda4d2eeaa 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Origin(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.PropertyOrigin.Inlined)]
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Operation.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Operation.cs
index bc8706db4aca..29ccfe769193 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Operation.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PaymentDetail.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PaymentDetail.cs
index 5c33a29b1b85..8c85bc18fdd1 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PaymentDetail.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PaymentDetail.cs
@@ -66,10 +66,10 @@ public partial class PaymentDetail :
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfo Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPaymentDetailInternal.ExtendedStatusInfo { get => (this._extendedStatusInfo = this._extendedStatusInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ExtendedStatusInfo()); set { {_extendedStatusInfo = value;} } }
/// Internal Acessors for ExtendedStatusInfoMessage
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPaymentDetailInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPaymentDetailInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message = value ?? null; }
/// Internal Acessors for ExtendedStatusInfoStatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPaymentDetailInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPaymentDetailInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode = value ?? null; }
/// Internal Acessors for PricingCurrencyTotal
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPrice Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPaymentDetailInternal.PricingCurrencyTotal { get => (this._pricingCurrencyTotal = this._pricingCurrencyTotal ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Price()); set { {_pricingCurrencyTotal = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PurchaseRequest.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PurchaseRequest.cs
index 1f92b4f9d7a1..44f0e5b6ebda 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PurchaseRequest.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/PurchaseRequest.cs
@@ -70,13 +70,13 @@ public partial class PurchaseRequest :
public global::System.DateTime? EffectiveDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).EffectiveDateTime; }
/// Internal Acessors for AppliedScopeProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).AppliedScopeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).AppliedScopeProperty = value ?? null /* model class */; }
/// Internal Acessors for Commitment
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ICommitment Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestInternal.Commitment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).Commitment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).Commitment = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ICommitment Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestInternal.Commitment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).Commitment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).Commitment = value ?? null /* model class */; }
/// Internal Acessors for EffectiveDateTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestInternal.EffectiveDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).EffectiveDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).EffectiveDateTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestInternal.EffectiveDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).EffectiveDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestPropertiesInternal)Property).EffectiveDateTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPurchaseRequestInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.PurchaseRequestProperties()); set { {_property = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasRequest.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasRequest.cs
index d765d9101399..085fc040fcdb 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasRequest.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasRequest.cs
@@ -72,46 +72,46 @@ public partial class ReservationOrderAliasRequest :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for AppliedScopeProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).AppliedScopeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).AppliedScopeProperty = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ReservationOrderAliasRequestProperties()); set { {_property = value;} } }
/// Internal Acessors for ReservedResourceProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesReservedResourceProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestInternal.ReservedResourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).ReservedResourceProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).ReservedResourceProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesReservedResourceProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestInternal.ReservedResourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).ReservedResourceProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestPropertiesInternal)Property).ReservedResourceProperty = value ?? null /* model class */; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasRequestInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Sku()); set { {_sku = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Origin(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.PropertyOrigin.Inherited)]
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasResponse.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasResponse.cs
index a665d3349434..b3f6150f1799 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasResponse.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/ReservationOrderAliasResponse.cs
@@ -83,52 +83,52 @@ public partial class ReservationOrderAliasResponse :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for AppliedScopeProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).AppliedScopeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).AppliedScopeProperty = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ReservationOrderAliasResponseProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ReservationOrderId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.ReservationOrderId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservationOrderId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservationOrderId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.ReservationOrderId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservationOrderId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservationOrderId = value ?? null; }
/// Internal Acessors for ReservedResourceProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesReservedResourceProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.ReservedResourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservedResourceProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservedResourceProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesReservedResourceProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.ReservedResourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservedResourceProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponsePropertiesInternal)Property).ReservedResourceProperty = value ?? null /* model class */; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IReservationOrderAliasResponseInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Sku()); set { {_sku = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Origin(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.PropertyOrigin.Inherited)]
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Resource.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Resource.cs
index 13cc8a1d7763..0a642d518ae1 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Resource.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/Resource.cs
@@ -34,22 +34,22 @@ public partial class Resource :
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModel.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModel.cs
index 88c5c5e66ece..e1945836924c 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModel.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModel.cs
@@ -144,91 +144,91 @@ public partial class SavingsPlanModel :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for AppliedScopeProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).AppliedScopeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).AppliedScopeProperty = value ?? null /* model class */; }
/// Internal Acessors for BillingAccountId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.BillingAccountId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingAccountId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingAccountId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.BillingAccountId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingAccountId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingAccountId = value ?? null; }
/// Internal Acessors for BillingProfileId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.BillingProfileId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingProfileId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingProfileId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.BillingProfileId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingProfileId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).BillingProfileId = value ?? null; }
/// Internal Acessors for Commitment
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ICommitment Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.Commitment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Commitment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Commitment = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ICommitment Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.Commitment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Commitment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Commitment = value ?? null /* model class */; }
/// Internal Acessors for CustomerId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.CustomerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).CustomerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).CustomerId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.CustomerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).CustomerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).CustomerId = value ?? null; }
/// Internal Acessors for DisplayProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.DisplayProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).DisplayProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).DisplayProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.DisplayProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).DisplayProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).DisplayProvisioningState = value ?? null; }
/// Internal Acessors for EffectiveDateTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.EffectiveDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).EffectiveDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).EffectiveDateTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.EffectiveDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).EffectiveDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).EffectiveDateTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for ExpiryDateTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExpiryDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExpiryDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExpiryDateTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExpiryDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExpiryDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExpiryDateTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for ExtendedStatusInfo
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfo Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExtendedStatusInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfo Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExtendedStatusInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfo = value ?? null /* model class */; }
/// Internal Acessors for ExtendedStatusInfoMessage
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoMessage = value ?? null; }
/// Internal Acessors for ExtendedStatusInfoStatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SavingsPlanModelProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for PurchaseDateTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.PurchaseDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).PurchaseDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).PurchaseDateTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.PurchaseDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).PurchaseDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).PurchaseDateTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Sku()); set { {_sku = value;} } }
/// Internal Acessors for UserFriendlyAppliedScopeType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.UserFriendlyAppliedScopeType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UserFriendlyAppliedScopeType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UserFriendlyAppliedScopeType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.UserFriendlyAppliedScopeType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UserFriendlyAppliedScopeType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UserFriendlyAppliedScopeType = value ?? null; }
/// Internal Acessors for Utilization
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilization Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.Utilization { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Utilization; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Utilization = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilization Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.Utilization { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Utilization; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).Utilization = value ?? null /* model class */; }
/// Internal Acessors for UtilizationAggregate
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.UtilizationAggregate { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationAggregate; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationAggregate = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.UtilizationAggregate { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationAggregate; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationAggregate = value ?? null /* arrayOf */; }
/// Internal Acessors for UtilizationTrend
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.UtilizationTrend { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationTrend; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationTrend = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelInternal.UtilizationTrend { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationTrend; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal)Property).UtilizationTrend = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Origin(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.PropertyOrigin.Inherited)]
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModelProperties.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModelProperties.cs
index 9d6eab9261e9..715501591b3b 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModelProperties.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanModelProperties.cs
@@ -191,10 +191,10 @@ public partial class SavingsPlanModelProperties :
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfo Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.ExtendedStatusInfo { get => (this._extendedStatusInfo = this._extendedStatusInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ExtendedStatusInfo()); set { {_extendedStatusInfo = value;} } }
/// Internal Acessors for ExtendedStatusInfoMessage
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message = value ?? null; }
/// Internal Acessors for ExtendedStatusInfoStatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -209,10 +209,10 @@ public partial class SavingsPlanModelProperties :
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilization Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.Utilization { get => (this._utilization = this._utilization ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Utilization()); set { {_utilization = value;} } }
/// Internal Acessors for UtilizationAggregate
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.UtilizationAggregate { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Aggregate; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Aggregate = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.UtilizationAggregate { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Aggregate; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Aggregate = value ?? null /* arrayOf */; }
/// Internal Acessors for UtilizationTrend
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.UtilizationTrend { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Trend; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Trend = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanModelPropertiesInternal.UtilizationTrend { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Trend; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IUtilizationInternal)Utilization).Trend = value ?? null; }
/// Backing field for property.
private string _provisioningState;
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderAliasModel.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderAliasModel.cs
index 3aab761ce060..48bee6f660db 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderAliasModel.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderAliasModel.cs
@@ -99,49 +99,49 @@ public partial class SavingsPlanOrderAliasModel :
public string Kind { get => this._kind; set => this._kind = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for AppliedScopeProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).AppliedScopeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).AppliedScopeProperty = value ?? null /* model class */; }
/// Internal Acessors for Commitment
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ICommitment Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.Commitment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).Commitment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).Commitment = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ICommitment Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.Commitment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).Commitment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).Commitment = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SavingsPlanOrderAliasProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SavingsPlanOrderId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.SavingsPlanOrderId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).SavingsPlanOrderId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).SavingsPlanOrderId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.SavingsPlanOrderId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).SavingsPlanOrderId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasPropertiesInternal)Property).SavingsPlanOrderId = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderAliasModelInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Sku()); set { {_sku = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModel.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModel.cs
index 1d072283838f..069784a0a5f4 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModel.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModel.cs
@@ -86,67 +86,67 @@ public partial class SavingsPlanOrderModel :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for BillingAccountId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.BillingAccountId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingAccountId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingAccountId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.BillingAccountId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingAccountId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingAccountId = value ?? null; }
/// Internal Acessors for BillingProfileId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.BillingProfileId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingProfileId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingProfileId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.BillingProfileId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingProfileId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).BillingProfileId = value ?? null; }
/// Internal Acessors for CustomerId
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.CustomerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).CustomerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).CustomerId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.CustomerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).CustomerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).CustomerId = value ?? null; }
/// Internal Acessors for ExpiryDateTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExpiryDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExpiryDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExpiryDateTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExpiryDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExpiryDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExpiryDateTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for ExtendedStatusInfo
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfo Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExtendedStatusInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfo = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfo Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExtendedStatusInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfo = value ?? null /* model class */; }
/// Internal Acessors for ExtendedStatusInfoMessage
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoMessage = value ?? null; }
/// Internal Acessors for ExtendedStatusInfoStatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ExtendedStatusInfoStatusCode = value ?? null; }
/// Internal Acessors for PlanInformation
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IBillingPlanInformation Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.PlanInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IBillingPlanInformation Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.PlanInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformation = value ?? null /* model class */; }
/// Internal Acessors for PlanInformationPricingCurrencyTotal
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPrice Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.PlanInformationPricingCurrencyTotal { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformationPricingCurrencyTotal; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformationPricingCurrencyTotal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPrice Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.PlanInformationPricingCurrencyTotal { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformationPricingCurrencyTotal; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).PlanInformationPricingCurrencyTotal = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SavingsPlanOrderModelProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Sku()); set { {_sku = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModelProperties.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModelProperties.cs
index d5375c553543..b5c8b17a45ec 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModelProperties.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanOrderModelProperties.cs
@@ -109,16 +109,16 @@ public partial class SavingsPlanOrderModelProperties :
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfo Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.ExtendedStatusInfo { get => (this._extendedStatusInfo = this._extendedStatusInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ExtendedStatusInfo()); set { {_extendedStatusInfo = value;} } }
/// Internal Acessors for ExtendedStatusInfoMessage
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.ExtendedStatusInfoMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).Message = value ?? null; }
/// Internal Acessors for ExtendedStatusInfoStatusCode
- string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.ExtendedStatusInfoStatusCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IExtendedStatusInfoInternal)ExtendedStatusInfo).StatusCode = value ?? null; }
/// Internal Acessors for PlanInformation
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IBillingPlanInformation Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.PlanInformation { get => (this._planInformation = this._planInformation ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.BillingPlanInformation()); set { {_planInformation = value;} } }
/// Internal Acessors for PlanInformationPricingCurrencyTotal
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPrice Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.PlanInformationPricingCurrencyTotal { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IBillingPlanInformationInternal)PlanInformation).PricingCurrencyTotal; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IBillingPlanInformationInternal)PlanInformation).PricingCurrencyTotal = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IPrice Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.PlanInformationPricingCurrencyTotal { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IBillingPlanInformationInternal)PlanInformation).PricingCurrencyTotal; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IBillingPlanInformationInternal)PlanInformation).PricingCurrencyTotal = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanOrderModelPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanSummary.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanSummary.cs
index 9c3ea8c3e12c..7afa6e7f606f 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanSummary.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanSummary.cs
@@ -20,31 +20,31 @@ public partial class SavingsPlanSummary :
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCount Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.Value { get => (this._value = this._value ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SavingsPlanSummaryCount()); set { {_value = value;} } }
/// Internal Acessors for ValueCancelledCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueCancelledCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).CancelledCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).CancelledCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueCancelledCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).CancelledCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).CancelledCount = value ?? default(float); }
/// Internal Acessors for ValueExpiredCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueExpiredCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiredCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiredCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueExpiredCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiredCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiredCount = value ?? default(float); }
/// Internal Acessors for ValueExpiringCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueExpiringCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiringCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiringCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueExpiringCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiringCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ExpiringCount = value ?? default(float); }
/// Internal Acessors for ValueFailedCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueFailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).FailedCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueFailedCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).FailedCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).FailedCount = value ?? default(float); }
/// Internal Acessors for ValueNoBenefitCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueNoBenefitCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).NoBenefitCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).NoBenefitCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueNoBenefitCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).NoBenefitCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).NoBenefitCount = value ?? default(float); }
/// Internal Acessors for ValuePendingCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValuePendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).PendingCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValuePendingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).PendingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).PendingCount = value ?? default(float); }
/// Internal Acessors for ValueProcessingCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueProcessingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ProcessingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ProcessingCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueProcessingCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ProcessingCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).ProcessingCount = value ?? default(float); }
/// Internal Acessors for ValueSucceededCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueSucceededCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).SucceededCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).SucceededCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueSucceededCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).SucceededCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).SucceededCount = value ?? default(float); }
/// Internal Acessors for ValueWarningCount
- float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueWarningCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).WarningCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).WarningCount = value; }
+ float? Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryInternal.ValueWarningCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).WarningCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanSummaryCountInternal)Value).WarningCount = value ?? default(float); }
/// Backing field for property.
private string _name;
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateRequest.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateRequest.cs
index 6420f958baf1..d6030747a78b 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateRequest.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateRequest.cs
@@ -44,7 +44,7 @@ public partial class SavingsPlanUpdateRequest :
public string DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestPropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestPropertiesInternal)Property).DisplayName = value ?? null; }
/// Internal Acessors for AppliedScopeProperty
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestPropertiesInternal)Property).AppliedScopeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.IAppliedScopeProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestInternal.AppliedScopeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestPropertiesInternal)Property).AppliedScopeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestPropertiesInternal)Property).AppliedScopeProperty = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestProperties Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.ISavingsPlanUpdateRequestInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SavingsPlanUpdateRequestProperties()); set { {_property = value;} } }
diff --git a/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 03ba837b835f..2dae78ef8c38 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/BillingBenefits/BillingBenefits.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/BillingBenefits/BillingBenefits.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index f572ef532716..96887ca5bb9b 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/BillingBenefits/BillingBenefits.Autorest/generated/runtime/MessageAttribute.cs b/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/MessageAttribute.cs
index e86201460d52..384754fa6889 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.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.BillingBenefits" : @"";
+
//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/BillingBenefits/BillingBenefits.Autorest/generated/runtime/Properties/Resources.resx b/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/BillingBenefits/BillingBenefits.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/BillingBenefits/BillingBenefits.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/BotService/BotService.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/BotService/BotService.Autorest/exports/ProxyCmdletDefinitions.ps1
index e2b1c9afad4e..e9a8d97579dc 100644
--- a/generated/BotService/BotService.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/BotService/BotService.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -832,9 +832,9 @@ end {
<#
.Synopsis
-update a Bot Service
+Update a Bot Service
.Description
-update a Bot Service
+Update a Bot Service
.Example
Update-AzBotService -Name 'youri-apptest' -ResourceGroupName 'youriBotTest' -kind Bot
.Example
diff --git a/generated/BotService/BotService.Autorest/exports/Update-AzBotService.ps1 b/generated/BotService/BotService.Autorest/exports/Update-AzBotService.ps1
index 7f9027eabd6c..664f365dda71 100644
--- a/generated/BotService/BotService.Autorest/exports/Update-AzBotService.ps1
+++ b/generated/BotService/BotService.Autorest/exports/Update-AzBotService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Bot Service
+Update a Bot Service
.Description
-update a Bot Service
+Update a Bot Service
.Example
Update-AzBotService -Name 'youri-apptest' -ResourceGroupName 'youriBotTest' -kind Bot
.Example
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/AlexaChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/AlexaChannel.cs
index ed7dbab40f24..33fe55cb9a61 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/AlexaChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/AlexaChannel.cs
@@ -38,13 +38,13 @@ public partial class AlexaChannel :
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.AlexaChannelProperties()); set { {_property = value;} } }
/// Internal Acessors for ServiceEndpointUri
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelInternal.ServiceEndpointUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).ServiceEndpointUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).ServiceEndpointUri = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelInternal.ServiceEndpointUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).ServiceEndpointUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).ServiceEndpointUri = value ?? null; }
/// Internal Acessors for UrlFragment
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelInternal.UrlFragment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).UrlFragment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).UrlFragment = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelInternal.UrlFragment { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).UrlFragment; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IAlexaChannelPropertiesInternal)Property).UrlFragment = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// The channel name
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Constant]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/Bot.cs b/generated/BotService/BotService.Autorest/generated/api/Models/Bot.cs
index 7c698b3b16bd..1bd4fbdbc3e2 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/Bot.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/Bot.cs
@@ -121,49 +121,49 @@ public partial class Bot :
public string ManifestUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ManifestUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ManifestUrl = value ?? null; }
/// Internal Acessors for CmekEncryptionStatus
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.CmekEncryptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).CmekEncryptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).CmekEncryptionStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.CmekEncryptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).CmekEncryptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).CmekEncryptionStatus = value ?? null; }
/// Internal Acessors for ConfiguredChannel
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.ConfiguredChannel { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ConfiguredChannel; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ConfiguredChannel = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.ConfiguredChannel { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ConfiguredChannel; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ConfiguredChannel = value ?? null /* arrayOf */; }
/// Internal Acessors for EnabledChannel
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.EnabledChannel { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EnabledChannel; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EnabledChannel = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.EnabledChannel { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EnabledChannel; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EnabledChannel = value ?? null /* arrayOf */; }
/// Internal Acessors for EndpointVersion
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.EndpointVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EndpointVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EndpointVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.EndpointVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EndpointVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).EndpointVersion = value ?? null; }
/// Internal Acessors for IsDeveloperAppInsightsApiKeySet
- bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.IsDeveloperAppInsightsApiKeySet { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).IsDeveloperAppInsightsApiKeySet; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).IsDeveloperAppInsightsApiKeySet = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.IsDeveloperAppInsightsApiKeySet { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).IsDeveloperAppInsightsApiKeySet; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).IsDeveloperAppInsightsApiKeySet = value ?? default(bool); }
/// Internal Acessors for MigrationToken
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.MigrationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).MigrationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).MigrationToken = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.MigrationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).MigrationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).MigrationToken = value ?? null; }
/// Internal Acessors for PrivateEndpointConnection
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).PrivateEndpointConnection = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).PrivateEndpointConnection = value ?? null /* arrayOf */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.BotProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Sku
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku = value ?? null /* model class */; }
/// Internal Acessors for SkuTier
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for Zone
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone = value ?? null /* arrayOf */; }
/// Token used to migrate non Azure bot to azure subscription
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inlined)]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/BotChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/BotChannel.cs
index b0dc27307d19..15e29ddab45a 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/BotChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/BotChannel.cs
@@ -39,28 +39,28 @@ public partial class BotChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Location = value ?? null; }
/// Internal Acessors for PropertiesProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal.PropertiesProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal.PropertiesProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannel Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Channel()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Sku
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku = value ?? null /* model class */; }
/// Internal Acessors for SkuTier
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for Zone
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone = value ?? null /* arrayOf */; }
/// Specifies the name of the resource.
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inherited)]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/ConnectionSetting.cs b/generated/BotService/BotService.Autorest/generated/api/Models/ConnectionSetting.cs
index 1663871e0b54..ce2406a269d5 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/ConnectionSetting.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/ConnectionSetting.cs
@@ -46,25 +46,25 @@ public partial class ConnectionSetting :
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ConnectionSettingProperties()); set { {_property = value;} } }
/// Internal Acessors for SettingId
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingInternal.SettingId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingPropertiesInternal)Property).SettingId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingPropertiesInternal)Property).SettingId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingInternal.SettingId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingPropertiesInternal)Property).SettingId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IConnectionSettingPropertiesInternal)Property).SettingId = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Sku
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Sku = value ?? null /* model class */; }
/// Internal Acessors for SkuTier
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).SkuTier = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for Zone
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__resource).Zone = value ?? null /* arrayOf */; }
/// Specifies the name of the resource.
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inherited)]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineChannel.cs
index 6cd26d64bf44..21518f9067b8 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineChannel.cs
@@ -39,13 +39,13 @@ public partial class DirectLineChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for ExtensionKey1
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelInternal.ExtensionKey1 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey1; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey1 = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelInternal.ExtensionKey1 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey1; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey1 = value ?? null; }
/// Internal Acessors for ExtensionKey2
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelInternal.ExtensionKey2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey2 = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelInternal.ExtensionKey2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelPropertiesInternal)Property).ExtensionKey2 = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.DirectLineChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSite.cs b/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSite.cs
index a58be946017b..b69bd35020c2 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSite.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSite.cs
@@ -83,16 +83,16 @@ public partial class DirectLineSite :
public string Key2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id = value ?? null; }
/// Internal Acessors for IsTokenEnabled
- bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.IsTokenEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.IsTokenEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled = value ?? default(bool); }
/// Internal Acessors for Key
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key = value ?? null; }
/// Internal Acessors for Key2
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2 = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2 = value ?? null; }
/// Site name
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inherited)]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSpeechChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSpeechChannel.cs
index cae5ea1b722b..af6f2971b701 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSpeechChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/DirectLineSpeechChannel.cs
@@ -55,7 +55,7 @@ public partial class DirectLineSpeechChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineSpeechChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IDirectLineSpeechChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.DirectLineSpeechChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/EmailChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/EmailChannel.cs
index fa40f98c5b20..e30395f0be5b 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/EmailChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/EmailChannel.cs
@@ -43,7 +43,7 @@ public partial class EmailChannel :
public string MagicCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IEmailChannelPropertiesInternal)Property).MagicCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IEmailChannelPropertiesInternal)Property).MagicCode = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IEmailChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IEmailChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.EmailChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/FacebookChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/FacebookChannel.cs
index 6506b58bcde2..50d041bed2c4 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/FacebookChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/FacebookChannel.cs
@@ -45,16 +45,16 @@ public partial class FacebookChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for CallbackUrl
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelInternal.CallbackUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).CallbackUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).CallbackUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelInternal.CallbackUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).CallbackUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).CallbackUrl = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.FacebookChannelProperties()); set { {_property = value;} } }
/// Internal Acessors for VerifyToken
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelInternal.VerifyToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).VerifyToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).VerifyToken = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelInternal.VerifyToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).VerifyToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IFacebookChannelPropertiesInternal)Property).VerifyToken = value ?? null; }
/// The channel name
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Constant]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/KikChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/KikChannel.cs
index 31fa41da31db..47a0b69123f6 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/KikChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/KikChannel.cs
@@ -41,7 +41,7 @@ public partial class KikChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IKikChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IKikChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.KikChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/LineChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/LineChannel.cs
index 61766f386a52..c4da7fbdb609 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/LineChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/LineChannel.cs
@@ -39,13 +39,13 @@ public partial class LineChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for CallbackUrl
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelInternal.CallbackUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).CallbackUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).CallbackUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelInternal.CallbackUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).CallbackUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).CallbackUrl = value ?? null; }
/// Internal Acessors for IsValidated
- bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelInternal.IsValidated { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).IsValidated; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).IsValidated = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelInternal.IsValidated { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).IsValidated; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelPropertiesInternal)Property).IsValidated = value ?? default(bool); }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ILineChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.LineChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/ListChannelWithKeysResponse.cs b/generated/BotService/BotService.Autorest/generated/api/Models/ListChannelWithKeysResponse.cs
index 81edfd326fcc..4471ed522a3f 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/ListChannelWithKeysResponse.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/ListChannelWithKeysResponse.cs
@@ -53,43 +53,43 @@ public partial class ListChannelWithKeysResponse :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Location = value ?? null; }
/// Internal Acessors for PropertiesProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal.PropertiesProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).PropertiesProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).PropertiesProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal.PropertiesProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).PropertiesProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).PropertiesProvisioningState = value ?? null; }
/// Internal Acessors for Property
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannel Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal.Property { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).Property = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannel Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal.Property { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IBotChannelInternal)__botChannel).Property = value ?? null /* model class */; }
/// Internal Acessors for Resource
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannel Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.Resource { get => (this._resource = this._resource ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Channel()); set { {_resource = value;} } }
/// Internal Acessors for ResourceProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.ResourceProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Resource).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Resource).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.ResourceProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Resource).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)Resource).ProvisioningState = value ?? null; }
/// Internal Acessors for Setting
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettings Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.Setting { get => (this._setting = this._setting ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ChannelSettings()); set { {_setting = value;} } }
/// Internal Acessors for SettingExtensionKey1
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.SettingExtensionKey1 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey1; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey1 = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.SettingExtensionKey1 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey1; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey1 = value ?? null; }
/// Internal Acessors for SettingExtensionKey2
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.SettingExtensionKey2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey2 = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IListChannelWithKeysResponseInternal.SettingExtensionKey2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelSettingsInternal)Setting).ExtensionKey2 = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Name = value ?? null; }
/// Internal Acessors for Sku
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Sku = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Sku = value ?? null /* model class */; }
/// Internal Acessors for SkuTier
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).SkuTier = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).SkuTier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).SkuTier = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Type = value ?? null; }
/// Internal Acessors for Zone
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Zone = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Zone { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Zone; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal)__botChannel).Zone = value ?? null /* arrayOf */; }
/// Specifies the name of the resource.
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inherited)]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/MSTeamsChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/MSTeamsChannel.cs
index 48452e1d275a..65d254356c7d 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/MSTeamsChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/MSTeamsChannel.cs
@@ -51,7 +51,7 @@ public partial class MSTeamsChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IMSTeamsChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IMSTeamsChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.MSTeamsChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/OutlookChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/OutlookChannel.cs
index 214a3c1f2c5f..b5741e140247 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/OutlookChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/OutlookChannel.cs
@@ -27,7 +27,7 @@ public partial class OutlookChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// The channel name
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Constant]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnection.cs b/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnection.cs
index cf23325fc5d4..7a52dba781c6 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnection.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnection.cs
@@ -26,28 +26,28 @@ public partial class PrivateEndpointConnection :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id; }
/// Internal Acessors for PrivateEndpoint
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value ?? null /* model class */; }
/// Internal Acessors for PrivateEndpointId
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value ?? null; }
/// Internal Acessors for PrivateLinkServiceConnectionState
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.PrivateEndpointConnectionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inherited)]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs b/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
index a0d691d44108..1920db5b349b 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/PrivateEndpointConnectionProperties.cs
@@ -17,7 +17,7 @@ public partial class PrivateEndpointConnectionProperties :
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpoint { get => (this._privateEndpoint = this._privateEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.PrivateEndpoint()); set { {_privateEndpoint = value;} } }
/// Internal Acessors for PrivateEndpointId
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointInternal)PrivateEndpoint).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointInternal)PrivateEndpoint).Id = value ?? null; }
/// Internal Acessors for PrivateLinkServiceConnectionState
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkServiceConnectionState Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.PrivateLinkServiceConnectionState()); set { {_privateLinkServiceConnectionState = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/PrivateLinkResource.cs b/generated/BotService/BotService.Autorest/generated/api/Models/PrivateLinkResource.cs
index a516d6a0197c..251329bbaeee 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/PrivateLinkResource.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/PrivateLinkResource.cs
@@ -30,22 +30,22 @@ public partial class PrivateLinkResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceBaseInternal)__privateLinkResourceBase).Type = value ?? null; }
/// Internal Acessors for GroupId
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceInternal.GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.PrivateLinkResourceProperties()); set { {_property = value;} } }
/// Internal Acessors for RequiredMember
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourceInternal.RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value ?? null /* arrayOf */; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inherited)]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/Resource.cs b/generated/BotService/BotService.Autorest/generated/api/Models/Resource.cs
index 363918c70d39..1b4a86097a9b 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/Resource.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/Resource.cs
@@ -51,7 +51,7 @@ public partial class Resource :
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Sku()); set { {_sku = value;} } }
/// Internal Acessors for SkuTier
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISkuInternal)Sku).Tier = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISkuInternal)Sku).Tier = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProvider.cs b/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProvider.cs
index 9c1fee157801..75b105bff24a 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProvider.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProvider.cs
@@ -30,19 +30,19 @@ public partial class ServiceProvider :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).Id; }
/// Internal Acessors for DevPortalUrl
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.DevPortalUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DevPortalUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DevPortalUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.DevPortalUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DevPortalUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DevPortalUrl = value ?? null; }
/// Internal Acessors for DisplayName
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DisplayName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).DisplayName = value ?? null; }
/// Internal Acessors for IconUrl
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.IconUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).IconUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).IconUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.IconUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).IconUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).IconUrl = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).ServiceProviderName; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).ServiceProviderName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).ServiceProviderName; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderPropertiesInternal)Property).ServiceProviderName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ServiceProviderProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProviderParameter.cs b/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProviderParameter.cs
index 3e388b84e585..12d55df8c39f 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProviderParameter.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/ServiceProviderParameter.cs
@@ -53,7 +53,7 @@ public partial class ServiceProviderParameter :
internal Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadata Metadata { get => (this._metadata = this._metadata ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ServiceProviderParameterMetadata()); }
/// Internal Acessors for ConstraintRequired
- bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterInternal.ConstraintRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).ConstraintRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).ConstraintRequired = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterInternal.ConstraintRequired { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).ConstraintRequired; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).ConstraintRequired = value ?? default(bool); }
/// Internal Acessors for Default
string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterInternal.Default { get => this._default; set { {_default = value;} } }
@@ -71,7 +71,7 @@ public partial class ServiceProviderParameter :
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadata Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterInternal.Metadata { get => (this._metadata = this._metadata ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ServiceProviderParameterMetadata()); set { {_metadata = value;} } }
/// Internal Acessors for MetadataConstraint
- Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataConstraints Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterInternal.MetadataConstraint { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).Constraint; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).Constraint = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataConstraints Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterInternal.MetadataConstraint { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).Constraint; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterMetadataInternal)Metadata).Constraint = value ?? null /* model class */; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IServiceProviderParameterInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/SkypeChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/SkypeChannel.cs
index 6c0352c160e5..d93beadf7716 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/SkypeChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/SkypeChannel.cs
@@ -67,7 +67,7 @@ public partial class SkypeChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISkypeChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISkypeChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.SkypeChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/SlackChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/SlackChannel.cs
index 9a655941e48e..f13b0ea957d2 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/SlackChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/SlackChannel.cs
@@ -53,19 +53,19 @@ public partial class SlackChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for IsValidated
- bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelInternal.IsValidated { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).IsValidated; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).IsValidated = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelInternal.IsValidated { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).IsValidated; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).IsValidated = value ?? default(bool); }
/// Internal Acessors for LastSubmissionId
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelInternal.LastSubmissionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).LastSubmissionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).LastSubmissionId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelInternal.LastSubmissionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).LastSubmissionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).LastSubmissionId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.SlackChannelProperties()); set { {_property = value;} } }
/// Internal Acessors for RedirectAction
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelInternal.RedirectAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).RedirectAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).RedirectAction = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelInternal.RedirectAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).RedirectAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISlackChannelPropertiesInternal)Property).RedirectAction = value ?? null; }
/// The channel name
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Constant]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/SmsChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/SmsChannel.cs
index 08fa437f5caf..bdf5b9940f51 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/SmsChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/SmsChannel.cs
@@ -47,7 +47,7 @@ public partial class SmsChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISmsChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISmsChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.SmsChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/TelegramChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/TelegramChannel.cs
index dfef581d092c..992a09394910 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/TelegramChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/TelegramChannel.cs
@@ -41,7 +41,7 @@ public partial class TelegramChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ITelegramChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ITelegramChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.TelegramChannelProperties()); set { {_property = value;} } }
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/WebChatChannel.cs b/generated/BotService/BotService.Autorest/generated/api/Models/WebChatChannel.cs
index 7c848825f962..87734a7b9751 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/WebChatChannel.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/WebChatChannel.cs
@@ -27,13 +27,13 @@ public partial class WebChatChannel :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).Location = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IChannelInternal)__channel).ProvisioningState = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelProperties Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.WebChatChannelProperties()); set { {_property = value;} } }
/// Internal Acessors for WebChatEmbedCode
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelInternal.WebChatEmbedCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelPropertiesInternal)Property).WebChatEmbedCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelPropertiesInternal)Property).WebChatEmbedCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelInternal.WebChatEmbedCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelPropertiesInternal)Property).WebChatEmbedCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.IWebChatChannelPropertiesInternal)Property).WebChatEmbedCode = value ?? null; }
/// The channel name
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Constant]
diff --git a/generated/BotService/BotService.Autorest/generated/api/Models/WebChatSite.cs b/generated/BotService/BotService.Autorest/generated/api/Models/WebChatSite.cs
index aaa04e3f2c4a..bd05be519ed8 100644
--- a/generated/BotService/BotService.Autorest/generated/api/Models/WebChatSite.cs
+++ b/generated/BotService/BotService.Autorest/generated/api/Models/WebChatSite.cs
@@ -83,16 +83,16 @@ public partial class WebChatSite :
public string Key2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Id = value ?? null; }
/// Internal Acessors for IsTokenEnabled
- bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.IsTokenEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.IsTokenEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).IsTokenEnabled = value ?? default(bool); }
/// Internal Acessors for Key
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key = value ?? null; }
/// Internal Acessors for Key2
- string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2 = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal.Key2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2; set => ((Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.ISiteInternal)__site).Key2 = value ?? null; }
/// Site name
[Microsoft.Azure.PowerShell.Cmdlets.BotService.Origin(Microsoft.Azure.PowerShell.Cmdlets.BotService.PropertyOrigin.Inherited)]
diff --git a/generated/BotService/BotService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/BotService/BotService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 6154613e0c00..82e94dbf3fde 100644
--- a/generated/BotService/BotService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/BotService/BotService.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/BotService/BotService.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/BotService/BotService.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 37b99c47ca38..d6707c8fd413 100644
--- a/generated/BotService/BotService.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/BotService/BotService.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/BotService/BotService.Autorest/generated/runtime/MessageAttribute.cs b/generated/BotService/BotService.Autorest/generated/runtime/MessageAttribute.cs
index b00e17d874ee..6f10d746e319 100644
--- a/generated/BotService/BotService.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/BotService/BotService.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.BotService.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.BotService" : @"";
+
//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/BotService/BotService.Autorest/generated/runtime/Properties/Resources.resx b/generated/BotService/BotService.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/BotService/BotService.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/BotService/BotService.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/BotService/BotService.Autorest/internal/New-AzBotService.ps1 b/generated/BotService/BotService.Autorest/internal/New-AzBotService.ps1
index 955c1565e9ca..7f0aadf915e4 100644
--- a/generated/BotService/BotService.Autorest/internal/New-AzBotService.ps1
+++ b/generated/BotService/BotService.Autorest/internal/New-AzBotService.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-create a Bot Service.
+Create a Bot Service.
Bot Service is a resource group wide resource type.
.Description
-create a Bot Service.
+Create a Bot Service.
Bot Service is a resource group wide resource type.
.Example
New-AzBotService -resourcegroupname BotTest-rg -name BotTest1 -ApplicationId "af5fce4d-ee68-4b25-be09-f3222582e133" -Location global -Sku F0 -Description "123134" -Registration
diff --git a/generated/BotService/BotService.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/BotService/BotService.Autorest/internal/ProxyCmdletDefinitions.ps1
index 8809bcb2fac6..bc9acf691470 100644
--- a/generated/BotService/BotService.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/BotService/BotService.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -464,10 +464,10 @@ end {
<#
.Synopsis
-create a Bot Service.
+Create a Bot Service.
Bot Service is a resource group wide resource type.
.Description
-create a Bot Service.
+Create a Bot Service.
Bot Service is a resource group wide resource type.
.Example
New-AzBotService -resourcegroupname BotTest-rg -name BotTest1 -ApplicationId "af5fce4d-ee68-4b25-be09-f3222582e133" -Location global -Sku F0 -Description "123134" -Registration
diff --git a/generated/Carbon/Carbon.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Carbon/Carbon.Autorest/generated/api/Models/ErrorResponse.cs
index e046aa939987..de805d0a4d22 100644
--- a/generated/Carbon/Carbon.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Carbon.Origin(Microsoft.Azure.PowerShell.Cmdlets.Carbon.PropertyOrigin.Inlined)]
diff --git a/generated/Carbon/Carbon.Autorest/generated/api/Models/ItemDetailsQueryFilter.cs b/generated/Carbon/Carbon.Autorest/generated/api/Models/ItemDetailsQueryFilter.cs
index 090270a7f4d9..b4424a7c2e04 100644
--- a/generated/Carbon/Carbon.Autorest/generated/api/Models/ItemDetailsQueryFilter.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/api/Models/ItemDetailsQueryFilter.cs
@@ -63,7 +63,7 @@ public partial class ItemDetailsQueryFilter :
public System.Collections.Generic.List LocationList { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList = value ?? null /* arrayOf */; }
/// Internal Acessors for DateRange
- Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value ?? null /* model class */; }
/// Backing field for property.
private string _orderBy;
diff --git a/generated/Carbon/Carbon.Autorest/generated/api/Models/MonthlySummaryReportQueryFilter.cs b/generated/Carbon/Carbon.Autorest/generated/api/Models/MonthlySummaryReportQueryFilter.cs
index c45df2707147..29bda308b6cc 100644
--- a/generated/Carbon/Carbon.Autorest/generated/api/Models/MonthlySummaryReportQueryFilter.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/api/Models/MonthlySummaryReportQueryFilter.cs
@@ -53,7 +53,7 @@ public partial class MonthlySummaryReportQueryFilter :
public System.Collections.Generic.List LocationList { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList = value ?? null /* arrayOf */; }
/// Internal Acessors for DateRange
- Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value ?? null /* model class */; }
///
/// The ReportType requested for carbon emissions data. Required. Specifies how data is aggregated and displayed in the output,
diff --git a/generated/Carbon/Carbon.Autorest/generated/api/Models/Operation.cs b/generated/Carbon/Carbon.Autorest/generated/api/Models/Operation.cs
index 8cfd3e6f746b..54713dca7f75 100644
--- a/generated/Carbon/Carbon.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/Carbon/Carbon.Autorest/generated/api/Models/OverallSummaryReportQueryFilter.cs b/generated/Carbon/Carbon.Autorest/generated/api/Models/OverallSummaryReportQueryFilter.cs
index a6aa3a7e92b2..8cad114e9b40 100644
--- a/generated/Carbon/Carbon.Autorest/generated/api/Models/OverallSummaryReportQueryFilter.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/api/Models/OverallSummaryReportQueryFilter.cs
@@ -53,7 +53,7 @@ public partial class OverallSummaryReportQueryFilter :
public System.Collections.Generic.List LocationList { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList = value ?? null /* arrayOf */; }
/// Internal Acessors for DateRange
- Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value ?? null /* model class */; }
///
/// The ReportType requested for carbon emissions data. Required. Specifies how data is aggregated and displayed in the output,
diff --git a/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsMonthlySummaryReportQueryFilter.cs b/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsMonthlySummaryReportQueryFilter.cs
index 33f6fea2c20b..89ef342879de 100644
--- a/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsMonthlySummaryReportQueryFilter.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsMonthlySummaryReportQueryFilter.cs
@@ -62,7 +62,7 @@ public partial class TopItemsMonthlySummaryReportQueryFilter :
public System.Collections.Generic.List LocationList { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList = value ?? null /* arrayOf */; }
/// Internal Acessors for DateRange
- Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value ?? null /* model class */; }
///
/// The ReportType requested for carbon emissions data. Required. Specifies how data is aggregated and displayed in the output,
diff --git a/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsSummaryReportQueryFilter.cs b/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsSummaryReportQueryFilter.cs
index d2319f9929a2..6d4b31733f65 100644
--- a/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsSummaryReportQueryFilter.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/api/Models/TopItemsSummaryReportQueryFilter.cs
@@ -62,7 +62,7 @@ public partial class TopItemsSummaryReportQueryFilter :
public System.Collections.Generic.List LocationList { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).LocationList = value ?? null /* arrayOf */; }
/// Internal Acessors for DateRange
- Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IDateRange Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal.DateRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.Carbon.Models.IQueryFilterInternal)__queryFilter).DateRange = value ?? null /* model class */; }
///
/// The ReportType requested for carbon emissions data. Required. Specifies how data is aggregated and displayed in the output,
diff --git a/generated/Carbon/Carbon.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Carbon/Carbon.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index dd38a739c25d..2b24b76515d6 100644
--- a/generated/Carbon/Carbon.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Carbon/Carbon.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/Carbon/Carbon.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Carbon/Carbon.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 3f2344ff3530..29fa862ab8e7 100644
--- a/generated/Carbon/Carbon.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/Carbon/Carbon.Autorest/generated/runtime/MessageAttribute.cs b/generated/Carbon/Carbon.Autorest/generated/runtime/MessageAttribute.cs
index 448346df54d6..ae6862f8891e 100644
--- a/generated/Carbon/Carbon.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Carbon/Carbon.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Carbon.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.Carbon" : @"";
+
//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/Carbon/Carbon.Autorest/generated/runtime/Properties/Resources.resx b/generated/Carbon/Carbon.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Carbon/Carbon.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Carbon/Carbon.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/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1
index cea55d8088c4..4613f822f6d5 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnCustomDomain.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new custom domain within an endpoint.
+Create a new custom domain within an endpoint.
.Description
-create a new custom domain within an endpoint.
+Create a new custom domain within an endpoint.
.Example
New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 -HostName 'testcm.dev.cdn.azure.cn'
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1
index 8c3a900c8b23..3f03c84710a4 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnEndpoint.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Description
-create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Example
$origin = @{
Name = "origin1"
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1
index bf2ef68cb7bf..b8c690e922fd 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOrigin.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new origin within the specified endpoint.
+Create a new origin within the specified endpoint.
.Description
-create a new origin within the specified endpoint.
+Create a new origin within the specified endpoint.
.Example
New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HostName "host1.hello.com"
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1
index c38b60f1c48f..0ad97cebf076 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzCdnOriginGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new origin group within the specified endpoint.
+Create a new origin group within the specified endpoint.
.Description
-create a new origin group within the specified endpoint.
+Create a new origin group within the specified endpoint.
.Example
$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD"
$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1
index 8c614aca99f1..ba710fbcc24c 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnCustomDomain.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new domain within the specified profile.
+Create a new domain within the specified profile.
.Description
-create a new domain within the specified profile.
+Create a new domain within the specified profile.
.Example
$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001
$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1
index 8d5b5dc3a809..fe5731ce5227 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnEndpoint.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Description
-create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Example
New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Location Global -EnabledState Enabled
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1
index 3217c361ee25..8e67e692b533 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOrigin.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new origin within the specified origin group.
+Create a new origin within the specified origin group.
.Description
-create a new origin within the specified origin group.
+Create a new origin within the specified origin group.
.Example
New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1
index 0928556ec714..d5f75496b95d 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnOriginGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new origin group within the specified profile.
+Create a new origin group within the specified profile.
.Description
-create a new origin group within the specified profile.
+Create a new origin group within the specified profile.
.Example
$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET"
$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1
index ecb1627d3d33..87b6d327db10 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRoute.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Description
-create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Example
$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001
$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1
index 92c00ece6748..7fe8c3d855ac 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRule.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new delivery rule within the specified rule set.
+Create a new delivery rule within the specified rule set.
.Description
-create a new delivery rule within the specified rule set.
+Create a new delivery rule within the specified rule set.
.Example
$conditions = @(
New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1
index b7f665ea2349..a7f0502caa4f 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnRuleSet.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new rule set within the specified profile.
+Create a new rule set within the specified profile.
.Description
-create a new rule set within the specified profile.
+Create a new rule set within the specified profile.
.Example
New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1
index 00435326f93d..de6e2aa88ec3 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecret.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new Secret within the specified profile.
+Create a new Secret within the specified profile.
.Description
-create a new Secret within the specified profile.
+Create a new Secret within the specified profile.
.Example
$secretSourceId = "xxxxxxxx"
$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId
diff --git a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1
index cdd6485e7525..7b9c38e26299 100644
--- a/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/New-AzFrontDoorCdnSecurityPolicy.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new security policy within the specified profile.
+Create a new security policy within the specified profile.
.Description
-create a new security policy within the specified profile.
+Create a new security policy within the specified profile.
.Example
$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01"
$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001
diff --git a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1
index 4ec5639dfb7d..224346c371df 100644
--- a/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -6911,9 +6911,9 @@ end {
<#
.Synopsis
-create a new custom domain within an endpoint.
+Create a new custom domain within an endpoint.
.Description
-create a new custom domain within an endpoint.
+Create a new custom domain within an endpoint.
.Example
New-AzCdnCustomDomain -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name customdomain001 -HostName 'testcm.dev.cdn.azure.cn'
@@ -7217,9 +7217,9 @@ end {
<#
.Synopsis
-create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Description
-create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Example
$origin = @{
Name = "origin1"
@@ -7757,9 +7757,9 @@ end {
<#
.Synopsis
-create a new origin group within the specified endpoint.
+Create a new origin group within the specified endpoint.
.Description
-create a new origin group within the specified endpoint.
+Create a new origin group within the specified endpoint.
.Example
$healthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD"
$origin = Get-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1
@@ -8122,9 +8122,9 @@ end {
<#
.Synopsis
-create a new origin within the specified endpoint.
+Create a new origin within the specified endpoint.
.Description
-create a new origin within the specified endpoint.
+Create a new origin within the specified endpoint.
.Example
New-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HostName "host1.hello.com"
@@ -8530,9 +8530,9 @@ end {
<#
.Synopsis
-create a new domain within the specified profile.
+Create a new domain within the specified profile.
.Description
-create a new domain within the specified profile.
+Create a new domain within the specified profile.
.Example
$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001
$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id
@@ -8857,9 +8857,9 @@ end {
<#
.Synopsis
-create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Description
-create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Create a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
.Example
New-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Location Global -EnabledState Enabled
@@ -9156,9 +9156,9 @@ end {
<#
.Synopsis
-create a new origin group within the specified profile.
+Create a new origin group within the specified profile.
.Description
-create a new origin group within the specified profile.
+Create a new origin group within the specified profile.
.Example
$healthProbeSetting = New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET"
$loadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 4
@@ -9473,9 +9473,9 @@ end {
<#
.Synopsis
-create a new origin within the specified origin group.
+Create a new origin within the specified origin group.
.Description
-create a new origin within the specified origin group.
+Create a new origin within the specified origin group.
.Example
New-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -OriginHostHeader en.wikipedia.org -HostName en.wikipedia.org -HttpPort 80 -HttpsPort 443 -Priority 1 -Weight 1000
@@ -9908,9 +9908,9 @@ end {
<#
.Synopsis
-create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Description
-create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Create a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Example
$originGroup = Get-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001
$ruleSet = Get-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001
@@ -10366,9 +10366,9 @@ end {
<#
.Synopsis
-create a new rule set within the specified profile.
+Create a new rule set within the specified profile.
.Description
-create a new rule set within the specified profile.
+Create a new rule set within the specified profile.
.Example
New-AzFrontDoorCdnRuleSet -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001
@@ -10583,9 +10583,9 @@ end {
<#
.Synopsis
-create a new delivery rule within the specified rule set.
+Create a new delivery rule within the specified rule set.
.Description
-create a new delivery rule within the specified rule set.
+Create a new delivery rule within the specified rule set.
.Example
$conditions = @(
New-AzFrontDoorCdnRuleClientPortConditionObject -Name ClientPort -ParameterOperator Equal -ParameterMatchValue 80,81
@@ -10946,9 +10946,9 @@ end {
<#
.Synopsis
-create a new Secret within the specified profile.
+Create a new Secret within the specified profile.
.Description
-create a new Secret within the specified profile.
+Create a new Secret within the specified profile.
.Example
$secretSourceId = "xxxxxxxx"
$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId
@@ -11222,9 +11222,9 @@ end {
<#
.Synopsis
-create a new security policy within the specified profile.
+Create a new security policy within the specified profile.
.Description
-create a new security policy within the specified profile.
+Create a new security policy within the specified profile.
.Example
$wafPolicyId = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgName01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/waf01"
$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001
@@ -17206,13 +17206,13 @@ end {
<#
.Synopsis
-update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
To update custom domains, use the update Custom Domain operation.
.Description
-update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
@@ -17719,9 +17719,9 @@ end {
<#
.Synopsis
-update an existing origin group within an endpoint.
+Update an existing origin group within an endpoint.
.Description
-update an existing origin group within an endpoint.
+Update an existing origin group within an endpoint.
.Example
$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD"
Update-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $updateHealthProbeParameters
@@ -18117,9 +18117,9 @@ end {
<#
.Synopsis
-update an existing origin within an endpoint.
+Update an existing origin within an endpoint.
.Description
-update an existing origin within an endpoint.
+Update an existing origin within an endpoint.
.Example
Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789
.Example
@@ -18566,9 +18566,9 @@ end {
<#
.Synopsis
-refresh the domain validation token.
+Refresh the domain validation token.
.Description
-refresh the domain validation token.
+Refresh the domain validation token.
.Example
Update-AzFrontDoorCdnCustomDomainValidationToken -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001
.Example
@@ -18825,9 +18825,9 @@ end {
<#
.Synopsis
-update an existing domain within a profile.
+Update an existing domain within a profile.
.Description
-update an existing domain within a profile.
+Update an existing domain within a profile.
.Example
$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001
$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id
@@ -19165,13 +19165,13 @@ end {
<#
.Synopsis
-update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
To update domains, use the update Custom Domain operation.
.Description
-update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
@@ -19483,9 +19483,9 @@ end {
<#
.Synopsis
-update an existing origin group within a profile.
+Update an existing origin group within a profile.
.Description
-update an existing origin group within a profile.
+Update an existing origin group within a profile.
.Example
$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3
Update-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $updateLoadBalancingSetting
@@ -19831,9 +19831,9 @@ end {
<#
.Synopsis
-update an existing origin within an origin group.
+Update an existing origin within an origin group.
.Description
-update an existing origin within an origin group.
+Update an existing origin within an origin group.
.Example
Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -Weight 999
.Example
@@ -20310,9 +20310,9 @@ end {
<#
.Synopsis
-update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Description
-update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Example
Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -EnabledState "Enabled"
.Example
@@ -20805,9 +20805,9 @@ end {
<#
.Synopsis
-update an existing delivery rule within a rule set.
+Update an existing delivery rule within a rule set.
.Description
-update an existing delivery rule within a rule set.
+Update an existing delivery rule within a rule set.
.Example
Update-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Order 99
.Example
@@ -21188,9 +21188,9 @@ end {
<#
.Synopsis
-update a new Secret within the specified profile.
+Update a new Secret within the specified profile.
.Description
-update a new Secret within the specified profile.
+Update a new Secret within the specified profile.
.Example
$secretSourceId = "xxxxxxxx"
$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId
@@ -21469,9 +21469,9 @@ end {
<#
.Synopsis
-patch an existing security policy within a profile.
+Patch an existing security policy within a profile.
.Description
-patch an existing security policy within a profile.
+Patch an existing security policy within a profile.
.Example
$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001
$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1
index 77635ff9dbd8..7ff43644e51d 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnEndpoint.ps1
@@ -16,13 +16,13 @@
<#
.Synopsis
-update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
To update custom domains, use the update Custom Domain operation.
.Description
-update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1
index 49616898d951..f7104d3d93f6 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOrigin.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing origin within an endpoint.
+Update an existing origin within an endpoint.
.Description
-update an existing origin within an endpoint.
+Update an existing origin within an endpoint.
.Example
Update-AzCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name origin1 -HttpPort 456 -HttpsPort 789
.Example
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1
index ef74d25f12d4..bcc67f78234a 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzCdnOriginGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing origin group within an endpoint.
+Update an existing origin group within an endpoint.
.Description
-update an existing origin group within an endpoint.
+Update an existing origin group within an endpoint.
.Example
$updateHealthProbeParameters = New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 60 -ProbePath "/new-check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD"
Update-AzCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -Name org001 -HealthProbeSetting $updateHealthProbeParameters
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1
index a470ab727bb3..35770119fc7d 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomain.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing domain within a profile.
+Update an existing domain within a profile.
.Description
-update an existing domain within a profile.
+Update an existing domain within a profile.
.Example
$secret = Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001
$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1
index 9aecaadc6669..9911eed7c874 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnCustomDomainValidationToken.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-refresh the domain validation token.
+Refresh the domain validation token.
.Description
-refresh the domain validation token.
+Refresh the domain validation token.
.Example
Update-AzFrontDoorCdnCustomDomainValidationToken -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -CustomDomainName domain001
.Example
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1
index 64b86948f7be..e712475a22e4 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnEndpoint.ps1
@@ -16,13 +16,13 @@
<#
.Synopsis
-update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
To update domains, use the update Custom Domain operation.
.Description
-update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
+Update an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Only tags can be updated after creating an endpoint.
To update origins, use the update Origin operation.
To update origin groups, use the update Origin group operation.
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1
index d1f95cd87de4..b4e10dfc76b7 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOrigin.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing origin within an origin group.
+Update an existing origin within an origin group.
.Description
-update an existing origin within an origin group.
+Update an existing origin within an origin group.
.Example
Update-AzFrontDoorCdnOrigin -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -OriginName ori001 -Weight 999
.Example
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1
index 6cadf4ca916d..9da3b746cd00 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnOriginGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing origin group within a profile.
+Update an existing origin group within a profile.
.Description
-update an existing origin group within a profile.
+Update an existing origin group within a profile.
.Example
$updateLoadBalancingSetting = New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject -AdditionalLatencyInMillisecond 200 -SampleSize 5 -SuccessfulSamplesRequired 3
Update-AzFrontDoorCdnOriginGroup -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001 -LoadBalancingSetting $updateLoadBalancingSetting
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1
index 66672eb3cbb4..f9c0c750b368 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRoute.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Description
-update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
+Update an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
.Example
Update-AzFrontDoorCdnRoute -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001 -Name route001 -EnabledState "Enabled"
.Example
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1
index fa0a970104a3..6b552f55b4e0 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnRule.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing delivery rule within a rule set.
+Update an existing delivery rule within a rule set.
.Description
-update an existing delivery rule within a rule set.
+Update an existing delivery rule within a rule set.
.Example
Update-AzFrontDoorCdnRule -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -RuleSetName ruleset001 -Name rule1 -Order 99
.Example
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1
index 5d9aa5975a9f..d5a72834c941 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecret.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a new Secret within the specified profile.
+Update a new Secret within the specified profile.
.Description
-update a new Secret within the specified profile.
+Update a new Secret within the specified profile.
.Example
$secretSourceId = "xxxxxxxx"
$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId
diff --git a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1 b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1
index c640b2a8642c..7f25ca8863d7 100644
--- a/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1
+++ b/generated/Cdn/Cdn.Autorest/exports/Update-AzFrontDoorCdnSecurityPolicy.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-patch an existing security policy within a profile.
+Patch an existing security policy within a profile.
.Description
-patch an existing security policy within a profile.
+Patch an existing security policy within a profile.
.Example
$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001
$endpoint2 = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end002
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs b/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs
index 8803e07f5e43..a0a617242b35 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Cdn.cs
@@ -35724,7 +35724,7 @@ public partial class Cdn
case global::System.Net.HttpStatusCode.OK:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- await onOk(_response,null /* deserializeFromResponse doesn't support '-header-' C:\Users\cloudtest\.autorest\@autorest_powershell@4.0.737\node_modules\@autorest\powershell\dist\llcsharp\schema\object.js*/);
+ await onOk(_response,null /* deserializeFromResponse doesn't support '-header-' C:\Users\cloudtest\.autorest\@autorest_powershell@4.0.742\node_modules\@autorest\powershell\dist\llcsharp\schema\object.js*/);
break;
}
default:
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomain.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomain.cs
index 9d1d188ecfeb..6439494dca64 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomain.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomain.cs
@@ -53,64 +53,64 @@ public partial class AfdDomain :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for AzureDnsZone
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.AzureDnsZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.AzureDnsZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone = value ?? null /* model class */; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for DomainValidationState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.DomainValidationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).DomainValidationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).DomainValidationState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.DomainValidationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).DomainValidationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).DomainValidationState = value ?? null; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for PropertiesPreValidatedCustomDomainResourceId
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.PropertiesPreValidatedCustomDomainResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.PropertiesPreValidatedCustomDomainResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdDomainProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ValidationProperty
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ValidationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ValidationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationProperty = value ?? null /* model class */; }
/// Internal Acessors for ValidationPropertyExpirationDate
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ValidationPropertyExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyExpirationDate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ValidationPropertyExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyExpirationDate = value ?? null; }
/// Internal Acessors for ValidationPropertyValidationToken
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ValidationPropertyValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyValidationToken = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainInternal.ValidationPropertyValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal)Property).ValidationPropertyValidationToken = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainProperties.cs
index 1b17a9b79c02..0af86f87571d 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainProperties.cs
@@ -65,25 +65,25 @@ public partial class AfdDomainProperties :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal.ValidationProperty { get => (this._validationProperty = this._validationProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DomainValidationProperties()); set { {_validationProperty = value;} } }
/// Internal Acessors for ValidationPropertyExpirationDate
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal.ValidationPropertyExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ExpirationDate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal.ValidationPropertyExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ExpirationDate = value ?? null; }
/// Internal Acessors for ValidationPropertyValidationToken
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal.ValidationPropertyValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ValidationToken = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainPropertiesInternal.ValidationPropertyValidationToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ValidationToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDomainValidationPropertiesInternal)ValidationProperty).ValidationToken = value ?? null; }
/// Internal Acessors for AzureDnsZone
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal.AzureDnsZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).AzureDnsZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).AzureDnsZone = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal.AzureDnsZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).AzureDnsZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).AzureDnsZone = value ?? null /* model class */; }
/// Internal Acessors for PreValidatedCustomDomainResourceId
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal.PreValidatedCustomDomainResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).PreValidatedCustomDomainResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).PreValidatedCustomDomainResourceId = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal.PreValidatedCustomDomainResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).PreValidatedCustomDomainResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).PreValidatedCustomDomainResourceId = value ?? null /* model class */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)__afdDomainUpdatePropertiesParameters).ProfileName = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
///
/// Resource reference to the Azure resource where custom domain ownership was prevalidated
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainUpdateParameters.cs
index 36983083836a..d4a8d2a59886 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdDomainUpdateParameters.cs
@@ -18,13 +18,13 @@ public partial class AfdDomainUpdateParameters :
public string AzureDnsZoneId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZoneId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZoneId = value ?? null; }
/// Internal Acessors for AzureDnsZone
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParametersInternal.AzureDnsZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParametersInternal.AzureDnsZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).AzureDnsZone = value ?? null /* model class */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for PropertiesPreValidatedCustomDomainResourceId
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParametersInternal.PropertiesPreValidatedCustomDomainResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParametersInternal.PropertiesPreValidatedCustomDomainResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParametersInternal)Property).PreValidatedCustomDomainResourceId = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdatePropertiesParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdDomainUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdDomainUpdatePropertiesParameters()); set { {_property = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpoint.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpoint.cs
index 058e5297e433..bdf4c8d05be6 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpoint.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpoint.cs
@@ -50,49 +50,49 @@ public partial class AfdEndpoint :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for HostName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.HostName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesInternal)Property).HostName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesInternal)Property).HostName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.HostName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesInternal)Property).HostName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesInternal)Property).HostName = value ?? null; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdEndpointProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointProperties.cs
index d2a75883b4bf..5843923cc1de 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointProperties.cs
@@ -53,13 +53,13 @@ public partial class AfdEndpointProperties :
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesInternal.HostName { get => this._hostName; set { {_hostName = value;} } }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)__afdEndpointPropertiesUpdateParameters).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)__afdEndpointPropertiesUpdateParameters).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)__afdEndpointPropertiesUpdateParameters).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)__afdEndpointPropertiesUpdateParameters).ProfileName = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// The name of the profile which holds the endpoint.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointUpdateParameters.cs
index 01fefd25a688..600cf78e6cbd 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdEndpointUpdateParameters.cs
@@ -20,7 +20,7 @@ public partial class AfdEndpointUpdateParameters :
public string EnabledState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).EnabledState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).EnabledState = value ?? null; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParametersInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointPropertiesUpdateParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdEndpointUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdEndpointPropertiesUpdateParameters()); set { {_property = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdErrorResponse.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdErrorResponse.cs
index a894425d0196..d03aec26590c 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdErrorResponse.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class AfdErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inlined)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOrigin.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOrigin.cs
index 8253f1038211..81a0d477dd1b 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOrigin.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOrigin.cs
@@ -66,55 +66,55 @@ public partial class AfdOrigin :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for AzureOrigin
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.AzureOrigin { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.AzureOrigin { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin = value ?? null /* model class */; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for OriginGroupName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.OriginGroupName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.OriginGroupName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdOriginProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SharedPrivateLinkResource
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.SharedPrivateLinkResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.SharedPrivateLinkResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource = value ?? null /* model class */; }
/// Internal Acessors for SharedPrivateLinkResourcePrivateLink
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroup.cs
index d9e43eb49ef9..33dfb2b51a6d 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroup.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroup.cs
@@ -46,46 +46,46 @@ public partial class AfdOriginGroup :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdOriginGroupProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupProperties.cs
index 220bacddb06e..e71e2dee318a 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupProperties.cs
@@ -38,13 +38,13 @@ public partial class AfdOriginGroupProperties :
public Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ILoadBalancingSettingsParameters LoadBalancingSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)__afdOriginGroupUpdatePropertiesParameters).LoadBalancingSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)__afdOriginGroupUpdatePropertiesParameters).LoadBalancingSetting = value ?? null /* model class */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)__afdOriginGroupUpdatePropertiesParameters).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)__afdOriginGroupUpdatePropertiesParameters).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)__afdOriginGroupUpdatePropertiesParameters).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)__afdOriginGroupUpdatePropertiesParameters).ProfileName = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// The name of the profile which holds the origin group.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupUpdateParameters.cs
index d6bec9e2176f..f98494df4794 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginGroupUpdateParameters.cs
@@ -24,7 +24,7 @@ public partial class AfdOriginGroupUpdateParameters :
public Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ILoadBalancingSettingsParameters LoadBalancingSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).LoadBalancingSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).LoadBalancingSetting = value ?? null /* model class */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdateParametersInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParametersInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdatePropertiesParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginGroupUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdOriginGroupUpdatePropertiesParameters()); set { {_property = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginProperties.cs
index 50558c862e00..a6cc7c0eaae8 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginProperties.cs
@@ -62,22 +62,22 @@ public partial class AfdOriginProperties :
public int? HttpsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).HttpsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).HttpsPort = value ?? default(int); }
/// Internal Acessors for AzureOrigin
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.AzureOrigin { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).AzureOrigin; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).AzureOrigin = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.AzureOrigin { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).AzureOrigin; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).AzureOrigin = value ?? null /* model class */; }
/// Internal Acessors for OriginGroupName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.OriginGroupName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).OriginGroupName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).OriginGroupName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.OriginGroupName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).OriginGroupName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).OriginGroupName = value ?? null; }
/// Internal Acessors for SharedPrivateLinkResource
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.SharedPrivateLinkResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.SharedPrivateLinkResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResource = value ?? null /* model class */; }
/// Internal Acessors for SharedPrivateLinkResourcePrivateLink
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResourcePrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResourcePrivateLink = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResourcePrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)__afdOriginUpdatePropertiesParameters).SharedPrivateLinkResourcePrivateLink = value ?? null /* model class */; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// The name of the origin group which contains this origin.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdateParameters.cs
index 1926b2b41427..df932e97dc88 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdateParameters.cs
@@ -44,19 +44,19 @@ public partial class AfdOriginUpdateParameters :
public int? HttpsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).HttpsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).HttpsPort = value ?? default(int); }
/// Internal Acessors for AzureOrigin
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.AzureOrigin { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.AzureOrigin { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).AzureOrigin = value ?? null /* model class */; }
/// Internal Acessors for OriginGroupName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.OriginGroupName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.OriginGroupName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).OriginGroupName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdOriginUpdatePropertiesParameters()); set { {_property = value;} } }
/// Internal Acessors for SharedPrivateLinkResource
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.SharedPrivateLinkResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.SharedPrivateLinkResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResource = value ?? null /* model class */; }
/// Internal Acessors for SharedPrivateLinkResourcePrivateLink
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdateParametersInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal)Property).SharedPrivateLinkResourcePrivateLink = value ?? null /* model class */; }
/// The name of the origin group which contains this origin.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inlined)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdatePropertiesParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdatePropertiesParameters.cs
index 320227dd991d..72c89af14ebb 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdatePropertiesParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AfdOriginUpdatePropertiesParameters.cs
@@ -75,7 +75,7 @@ public partial class AfdOriginUpdatePropertiesParameters :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.SharedPrivateLinkResource { get => (this._sharedPrivateLinkResource = this._sharedPrivateLinkResource ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SharedPrivateLinkResourceProperties()); set { {_sharedPrivateLinkResource = value;} } }
/// Internal Acessors for SharedPrivateLinkResourcePrivateLink
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourcePropertiesInternal)SharedPrivateLinkResource).PrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourcePropertiesInternal)SharedPrivateLinkResource).PrivateLink = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdOriginUpdatePropertiesParametersInternal.SharedPrivateLinkResourcePrivateLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourcePropertiesInternal)SharedPrivateLinkResource).PrivateLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISharedPrivateLinkResourcePropertiesInternal)SharedPrivateLinkResource).PrivateLink = value ?? null /* model class */; }
/// Backing field for property.
private string _originGroupName;
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificate.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificate.cs
index 72a3bc605bf3..cc09011a60f4 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificate.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificate.cs
@@ -25,10 +25,10 @@ public partial class AzureFirstPartyManagedCertificate :
public string ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; }
/// Internal Acessors for ExpirationDate
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate = value ?? null; }
/// Internal Acessors for Subject
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject = value ?? null; }
/// Subject name in the certificate.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificateParameters.cs
index a8bff3682e07..0b5ff22dbdbc 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/AzureFirstPartyManagedCertificateParameters.cs
@@ -44,7 +44,7 @@ public partial class AzureFirstPartyManagedCertificateParameters :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAzureFirstPartyManagedCertificateParametersInternal.SecretSource { get => (this._secretSource = this._secretSource ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference()); set { {_secretSource = value;} } }
/// Internal Acessors for SecretSourceId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAzureFirstPartyManagedCertificateParametersInternal.SecretSourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)SecretSource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)SecretSource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAzureFirstPartyManagedCertificateParametersInternal.SecretSourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)SecretSource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)SecretSource).Id = value ?? null; }
/// Internal Acessors for Subject
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAzureFirstPartyManagedCertificateParametersInternal.Subject { get => this._subject; set { {_subject = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/CanMigrateResult.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/CanMigrateResult.cs
index 44f8d2cde3d2..5e75617cc286 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/CanMigrateResult.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/CanMigrateResult.cs
@@ -36,10 +36,10 @@ public partial class CanMigrateResult :
public string Id { get => this._id; }
/// Internal Acessors for CanMigrate
- bool? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResultInternal.CanMigrate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).CanMigrate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).CanMigrate = value; }
+ bool? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResultInternal.CanMigrate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).CanMigrate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).CanMigrate = value ?? default(bool); }
/// Internal Acessors for DefaultSku
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResultInternal.DefaultSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).DefaultSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).DefaultSku = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResultInternal.DefaultSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).DefaultSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigratePropertiesInternal)Property).DefaultSku = value ?? null; }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICanMigrateResultInternal.Id { get => this._id; set { {_id = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomDomain.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomDomain.cs
index ad52f1b82530..153a90b90827 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomDomain.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomDomain.cs
@@ -50,49 +50,49 @@ public partial class CustomDomain :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for CustomHttpsProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.CustomHttpsProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.CustomHttpsProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningState = value ?? null; }
/// Internal Acessors for CustomHttpsProvisioningSubstate
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.CustomHttpsProvisioningSubstate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningSubstate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningSubstate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.CustomHttpsProvisioningSubstate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningSubstate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).CustomHttpsProvisioningSubstate = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CustomDomainProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ResourceState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomDomainPropertiesInternal)Property).ResourceState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomerCertificate.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomerCertificate.cs
index c40173c6561e..fecfb447e1d9 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomerCertificate.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/CustomerCertificate.cs
@@ -30,10 +30,10 @@ public partial class CustomerCertificate :
public string ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; }
/// Internal Acessors for ExpirationDate
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate = value ?? null; }
/// Internal Acessors for Subject
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject = value ?? null; }
/// Internal Acessors for CertificateAuthority
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomerCertificateInternal.CertificateAuthority { get => this._certificateAuthority; set { {_certificateAuthority = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeepCreatedOrigin.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeepCreatedOrigin.cs
index aa949efc584a..616384bc1946 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeepCreatedOrigin.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeepCreatedOrigin.cs
@@ -35,7 +35,7 @@ public partial class DeepCreatedOrigin :
public int? HttpsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginPropertiesInternal)Property).HttpsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginPropertiesInternal)Property).HttpsPort = value ?? default(int); }
/// Internal Acessors for PrivateEndpointStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginInternal.PrivateEndpointStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginPropertiesInternal)Property).PrivateEndpointStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginPropertiesInternal)Property).PrivateEndpointStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginInternal.PrivateEndpointStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginPropertiesInternal)Property).PrivateEndpointStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginPropertiesInternal)Property).PrivateEndpointStatus = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeepCreatedOriginInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.DeepCreatedOriginProperties()); set { {_property = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleCacheExpirationAction.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleCacheExpirationAction.cs
index e88443246d52..074931b53ae3 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleCacheExpirationAction.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleCacheExpirationAction.cs
@@ -22,7 +22,7 @@ public partial class DeliveryRuleCacheExpirationAction :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICacheExpirationActionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCacheExpirationActionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CacheExpirationActionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterCacheType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCacheExpirationActionInternal.ParameterCacheType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICacheExpirationActionParametersInternal)Parameter).CacheType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICacheExpirationActionParametersInternal)Parameter).CacheType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleCacheExpirationActionInternal.ParameterCacheType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICacheExpirationActionParametersInternal)Parameter).CacheType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICacheExpirationActionParametersInternal)Parameter).CacheType = value ; }
/// The name of the action for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleHttpVersionCondition.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleHttpVersionCondition.cs
index d74c7a351e8f..e1cbb77a9a4d 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleHttpVersionCondition.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleHttpVersionCondition.cs
@@ -22,7 +22,7 @@ public partial class DeliveryRuleHttpVersionCondition :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpVersionMatchConditionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleHttpVersionConditionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.HttpVersionMatchConditionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterOperator
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleHttpVersionConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpVersionMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpVersionMatchConditionParametersInternal)Parameter).Operator = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleHttpVersionConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpVersionMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IHttpVersionMatchConditionParametersInternal)Parameter).Operator = value ; }
/// The name of the condition for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleIsDeviceCondition.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleIsDeviceCondition.cs
index 2a581e24a2ba..dea144da0ad2 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleIsDeviceCondition.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleIsDeviceCondition.cs
@@ -22,7 +22,7 @@ public partial class DeliveryRuleIsDeviceCondition :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IIsDeviceMatchConditionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleIsDeviceConditionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IsDeviceMatchConditionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterOperator
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleIsDeviceConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IIsDeviceMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IIsDeviceMatchConditionParametersInternal)Parameter).Operator = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleIsDeviceConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IIsDeviceMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IIsDeviceMatchConditionParametersInternal)Parameter).Operator = value ; }
/// The name of the condition for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestMethodCondition.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestMethodCondition.cs
index bdfeac9a37f6..5150a671d48d 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestMethodCondition.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestMethodCondition.cs
@@ -22,7 +22,7 @@ public partial class DeliveryRuleRequestMethodCondition :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestMethodMatchConditionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRequestMethodConditionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RequestMethodMatchConditionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterOperator
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRequestMethodConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestMethodMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestMethodMatchConditionParametersInternal)Parameter).Operator = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRequestMethodConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestMethodMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestMethodMatchConditionParametersInternal)Parameter).Operator = value ; }
/// The name of the condition for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestSchemeCondition.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestSchemeCondition.cs
index 98f4a3a164d3..c4a2c501bc55 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestSchemeCondition.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRequestSchemeCondition.cs
@@ -22,7 +22,7 @@ public partial class DeliveryRuleRequestSchemeCondition :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestSchemeMatchConditionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRequestSchemeConditionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RequestSchemeMatchConditionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterOperator
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRequestSchemeConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestSchemeMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestSchemeMatchConditionParametersInternal)Parameter).Operator = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRequestSchemeConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestSchemeMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRequestSchemeMatchConditionParametersInternal)Parameter).Operator = value ; }
/// The name of the condition for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRouteConfigurationOverrideAction.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRouteConfigurationOverrideAction.cs
index 5c899596b82f..4d1c63e754fe 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRouteConfigurationOverrideAction.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleRouteConfigurationOverrideAction.cs
@@ -50,16 +50,16 @@ public partial class DeliveryRuleRouteConfigurationOverrideAction :
public string CacheConfigurationQueryStringCachingBehavior { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).CacheConfigurationQueryStringCachingBehavior; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).CacheConfigurationQueryStringCachingBehavior = value ?? null; }
/// Internal Acessors for OriginGroupOverrideOriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRouteConfigurationOverrideActionInternal.OriginGroupOverrideOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverrideOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverrideOriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRouteConfigurationOverrideActionInternal.OriginGroupOverrideOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverrideOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverrideOriginGroup = value ?? null /* model class */; }
/// Internal Acessors for Parameter
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRouteConfigurationOverrideActionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RouteConfigurationOverrideActionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterCacheConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRouteConfigurationOverrideActionInternal.ParameterCacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).CacheConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRouteConfigurationOverrideActionInternal.ParameterCacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).CacheConfiguration = value ?? null /* model class */; }
/// Internal Acessors for ParameterOriginGroupOverride
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverride Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRouteConfigurationOverrideActionInternal.ParameterOriginGroupOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverride = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverride Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleRouteConfigurationOverrideActionInternal.ParameterOriginGroupOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal)Parameter).OriginGroupOverride = value ?? null /* model class */; }
/// The name of the action for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleSslProtocolCondition.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleSslProtocolCondition.cs
index da641c06b490..b41f1a075be3 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleSslProtocolCondition.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/DeliveryRuleSslProtocolCondition.cs
@@ -22,7 +22,7 @@ public partial class DeliveryRuleSslProtocolCondition :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISslProtocolMatchConditionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleSslProtocolConditionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SslProtocolMatchConditionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterOperator
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleSslProtocolConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISslProtocolMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISslProtocolMatchConditionParametersInternal)Parameter).Operator = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IDeliveryRuleSslProtocolConditionInternal.ParameterOperator { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISslProtocolMatchConditionParametersInternal)Parameter).Operator; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISslProtocolMatchConditionParametersInternal)Parameter).Operator = value ; }
/// The name of the condition for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/EdgeNode.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/EdgeNode.cs
index 7dadbc15e92d..5a8c8248ee29 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/EdgeNode.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/EdgeNode.cs
@@ -34,34 +34,34 @@ public partial class EdgeNode :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeNodeProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEdgeNodeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.EdgeNodeProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Endpoint.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Endpoint.cs
index 2a5c11b81b75..e2611cf01f97 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Endpoint.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Endpoint.cs
@@ -88,58 +88,58 @@ public partial class Endpoint :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
/// Internal Acessors for CustomDomain
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.CustomDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).CustomDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).CustomDomain = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.CustomDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).CustomDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).CustomDomain = value ?? null /* arrayOf */; }
/// Internal Acessors for DefaultOriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.DefaultOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.DefaultOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup = value ?? null /* model class */; }
/// Internal Acessors for DeliveryPolicy
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersDeliveryPolicy Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.DeliveryPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersDeliveryPolicy Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.DeliveryPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy = value ?? null /* model class */; }
/// Internal Acessors for HostName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.HostName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).HostName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).HostName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.HostName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).HostName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).HostName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.EndpointProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ResourceState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal)Property).ResourceState = value ?? null; }
/// Internal Acessors for WebApplicationFirewallPolicyLink
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.WebApplicationFirewallPolicyLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointInternal.WebApplicationFirewallPolicyLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointProperties.cs
index c4cf9c0a2e8b..9f1a20be0d76 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointProperties.cs
@@ -103,13 +103,13 @@ public partial class EndpointProperties :
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesInternal.ResourceState { get => this._resourceState; set { {_resourceState = value;} } }
/// Internal Acessors for DefaultOriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal.DefaultOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DefaultOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DefaultOriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal.DefaultOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DefaultOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DefaultOriginGroup = value ?? null /* model class */; }
/// Internal Acessors for DeliveryPolicy
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersDeliveryPolicy Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal.DeliveryPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DeliveryPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DeliveryPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersDeliveryPolicy Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal.DeliveryPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DeliveryPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).DeliveryPolicy = value ?? null /* model class */; }
/// Internal Acessors for WebApplicationFirewallPolicyLink
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal.WebApplicationFirewallPolicyLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).WebApplicationFirewallPolicyLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).WebApplicationFirewallPolicyLink = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal.WebApplicationFirewallPolicyLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).WebApplicationFirewallPolicyLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)__endpointPropertiesUpdateParameters).WebApplicationFirewallPolicyLink = value ?? null /* model class */; }
///
/// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointUpdateParameters.cs
index e0fae6371158..a02dc96adbbe 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/EndpointUpdateParameters.cs
@@ -61,16 +61,16 @@ public partial class EndpointUpdateParameters :
public bool? IsHttpsAllowed { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).IsHttpsAllowed; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).IsHttpsAllowed = value ?? default(bool); }
/// Internal Acessors for DefaultOriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointUpdateParametersInternal.DefaultOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointUpdateParametersInternal.DefaultOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DefaultOriginGroup = value ?? null /* model class */; }
/// Internal Acessors for DeliveryPolicy
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersDeliveryPolicy Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointUpdateParametersInternal.DeliveryPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersDeliveryPolicy Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointUpdateParametersInternal.DeliveryPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).DeliveryPolicy = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.EndpointPropertiesUpdateParameters()); set { {_property = value;} } }
/// Internal Acessors for WebApplicationFirewallPolicyLink
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointUpdateParametersInternal.WebApplicationFirewallPolicyLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointUpdateParametersInternal.WebApplicationFirewallPolicyLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IEndpointPropertiesUpdateParametersInternal)Property).WebApplicationFirewallPolicyLink = value ?? null /* model class */; }
///
/// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponse.cs
index 18aa533be86c..8266a12bbd2c 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inlined)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
index 9e3a85956712..e3f964c06e44 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponseAutoGenerated :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inlined)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/ManagedCertificate.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/ManagedCertificate.cs
index dc27eae42f7a..9fe6275c9d81 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/ManagedCertificate.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/ManagedCertificate.cs
@@ -23,10 +23,10 @@ public partial class ManagedCertificate :
public string ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; }
/// Internal Acessors for ExpirationDate
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.ExpirationDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).ExpirationDate = value ?? null; }
/// Internal Acessors for Subject
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal.Subject { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICertificateInternal)__certificate).Subject = value ?? null; }
/// Subject name in the certificate.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResult.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResult.cs
index 6f1c7c112ff5..d3602512fc12 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResult.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResult.cs
@@ -33,10 +33,10 @@ public partial class MigrateResult :
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultInternal.Id { get => this._id; set { {_id = value;} } }
/// Internal Acessors for PropertiesMigratedProfileResourceId
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultInternal.PropertiesMigratedProfileResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceId = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultInternal.PropertiesMigratedProfileResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceId = value ?? null /* model class */; }
/// Internal Acessors for PropertiesMigratedProfileResourceIdId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultInternal.PropertiesMigratedProfileResourceIdId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceIdId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceIdId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultInternal.PropertiesMigratedProfileResourceIdId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceIdId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal)Property).MigratedProfileResourceIdId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.MigrateResultProperties()); set { {_property = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResultProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResultProperties.cs
index 41d36fd976a8..22a49bc991e5 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResultProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/MigrateResultProperties.cs
@@ -16,7 +16,7 @@ public partial class MigrateResultProperties :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal.MigratedProfileResourceId { get => (this._migratedProfileResourceId = this._migratedProfileResourceId ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference()); set { {_migratedProfileResourceId = value;} } }
/// Internal Acessors for MigratedProfileResourceIdId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal.MigratedProfileResourceIdId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)MigratedProfileResourceId).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)MigratedProfileResourceId).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IMigrateResultPropertiesInternal.MigratedProfileResourceIdId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)MigratedProfileResourceId).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReferenceInternal)MigratedProfileResourceId).Id = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference _migratedProfileResourceId;
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Operation.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Operation.cs
index c5f14ea2f508..013e73ae79c7 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Operation.cs
@@ -47,16 +47,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.Name { get => this._name; set { {_name = value;} } }
@@ -68,7 +68,7 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OperationProperties()); set { {_property = value;} } }
/// Internal Acessors for PropertyServiceSpecification
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.PropertyServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationPropertiesInternal)Property).ServiceSpecification = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationInternal.PropertyServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOperationPropertiesInternal)Property).ServiceSpecification = value ?? null /* model class */; }
/// Backing field for property.
private string _name;
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Origin.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Origin.cs
index 2da0d8f807c0..300a07db838a 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Origin.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Origin.cs
@@ -60,46 +60,46 @@ public partial class Origin :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for PrivateEndpointStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginInternal.PrivateEndpointStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).PrivateEndpointStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).PrivateEndpointStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginInternal.PrivateEndpointStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).PrivateEndpointStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).PrivateEndpointStatus = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ResourceState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginPropertiesInternal)Property).ResourceState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroup.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroup.cs
index 0da763fd2fa2..9c6442168970 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroup.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroup.cs
@@ -41,40 +41,40 @@ public partial class OriginGroup :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginGroupProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ResourceState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupPropertiesInternal)Property).ResourceState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroupOverrideAction.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroupOverrideAction.cs
index dc5f21f218ca..2c1aa2b5a386 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroupOverrideAction.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/OriginGroupOverrideAction.cs
@@ -22,7 +22,7 @@ public partial class OriginGroupOverrideAction :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginGroupOverrideActionParameters()); set { {_parameter = value;} } }
/// Internal Acessors for ParameterOriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionInternal.ParameterOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionParametersInternal)Parameter).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionParametersInternal)Parameter).OriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionInternal.ParameterOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionParametersInternal)Parameter).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideActionParametersInternal)Parameter).OriginGroup = value ?? null /* model class */; }
/// The name of the action for the delivery rule.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Constant]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Profile.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Profile.cs
index b108ba01e49c..abf4bed85c11 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Profile.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Profile.cs
@@ -86,67 +86,67 @@ public partial class Profile :
public string LogScrubbingState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).LogScrubbingState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).LogScrubbingState = value ?? null; }
/// Internal Acessors for ExtendedProperty
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesExtendedProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.ExtendedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ExtendedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ExtendedProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesExtendedProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.ExtendedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ExtendedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ExtendedProperty = value ?? null /* model class */; }
/// Internal Acessors for FrontDoorId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.FrontDoorId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).FrontDoorId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).FrontDoorId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.FrontDoorId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).FrontDoorId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).FrontDoorId = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Kind
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.Kind { get => this._kind; set { {_kind = value;} } }
/// Internal Acessors for LogScrubbing
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileLogScrubbing Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.LogScrubbing { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).LogScrubbing; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).LogScrubbing = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileLogScrubbing Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.LogScrubbing { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).LogScrubbing; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).LogScrubbing = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ResourceState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.ResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesInternal)Property).ResourceState = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISku Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Sku()); set { {_sku = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/ProfileUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/ProfileUpdateParameters.cs
index 4f7462c70a3e..fa80d86abc8f 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/ProfileUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/ProfileUpdateParameters.cs
@@ -58,13 +58,13 @@ public partial class ProfileUpdateParameters :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LogScrubbing
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileLogScrubbing Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.LogScrubbing { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesUpdateParametersInternal)Property).LogScrubbing; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesUpdateParametersInternal)Property).LogScrubbing = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileLogScrubbing Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.LogScrubbing { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesUpdateParametersInternal)Property).LogScrubbing; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesUpdateParametersInternal)Property).LogScrubbing = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfilePropertiesUpdateParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IProfileUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ProfilePropertiesUpdateParameters()); set { {_property = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/ProxyResource.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/ProxyResource.cs
index e46c757a858b..b2b602548864 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/ProxyResource.cs
@@ -25,34 +25,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Resource.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Resource.cs
index 26671534849d..546376caf3f4 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Resource.cs
@@ -30,22 +30,22 @@ public partial class Resource :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Route.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Route.cs
index 0a0ddac3ab29..d7bfc1003eab 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Route.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Route.cs
@@ -87,55 +87,55 @@ public partial class Route :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for CacheConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.CacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.CacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CacheConfigurationCompressionSetting
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting = value ?? null /* model class */; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for EndpointName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.EndpointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.EndpointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName = value ?? null; }
/// Internal Acessors for OriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.OriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.OriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RouteProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteConfigurationOverrideActionParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteConfigurationOverrideActionParameters.cs
index 4b2dcf4ec9de..2543e015eb00 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteConfigurationOverrideActionParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteConfigurationOverrideActionParameters.cs
@@ -64,7 +64,7 @@ public partial class RouteConfigurationOverrideActionParameters :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverride Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal.OriginGroupOverride { get => (this._originGroupOverride = this._originGroupOverride ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.OriginGroupOverride()); set { {_originGroupOverride = value;} } }
/// Internal Acessors for OriginGroupOverrideOriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal.OriginGroupOverrideOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideInternal)OriginGroupOverride).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideInternal)OriginGroupOverride).OriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteConfigurationOverrideActionParametersInternal.OriginGroupOverrideOriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideInternal)OriginGroupOverride).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IOriginGroupOverrideInternal)OriginGroupOverride).OriginGroup = value ?? null /* model class */; }
/// Resource ID.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inlined)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteProperties.cs
index 13b306cf86df..3427e8b885d6 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteProperties.cs
@@ -92,22 +92,22 @@ public partial class RouteProperties :
public string LinkToDefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).LinkToDefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).LinkToDefaultDomain = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for CacheConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.CacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.CacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CacheConfigurationCompressionSetting
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfigurationCompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfigurationCompressionSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfigurationCompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).CacheConfigurationCompressionSetting = value ?? null /* model class */; }
/// Internal Acessors for EndpointName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.EndpointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).EndpointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).EndpointName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.EndpointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).EndpointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).EndpointName = value ?? null; }
/// Internal Acessors for OriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.OriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).OriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.OriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)__routeUpdatePropertiesParameters).OriginGroup = value ?? null /* model class */; }
/// A reference to the origin group.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdateParameters.cs
index 5bb2ca50e4b2..1e043e6883e9 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdateParameters.cs
@@ -68,16 +68,16 @@ public partial class RouteUpdateParameters :
public string LinkToDefaultDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).LinkToDefaultDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).LinkToDefaultDomain = value ?? null; }
/// Internal Acessors for CacheConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.CacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.CacheConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfiguration = value ?? null /* model class */; }
/// Internal Acessors for CacheConfigurationCompressionSetting
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).CacheConfigurationCompressionSetting = value ?? null /* model class */; }
/// Internal Acessors for EndpointName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.EndpointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.EndpointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).EndpointName = value ?? null; }
/// Internal Acessors for OriginGroup
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.OriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.OriginGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal)Property).OriginGroup = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RouteUpdatePropertiesParameters()); set { {_property = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdatePropertiesParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdatePropertiesParameters.cs
index 0601fb247367..fdaab8368f8b 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdatePropertiesParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RouteUpdatePropertiesParameters.cs
@@ -98,7 +98,7 @@ public partial class RouteUpdatePropertiesParameters :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfiguration Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.CacheConfiguration { get => (this._cacheConfiguration = this._cacheConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.AfdRouteCacheConfiguration()); set { {_cacheConfiguration = value;} } }
/// Internal Acessors for CacheConfigurationCompressionSetting
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfigurationInternal)CacheConfiguration).CompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfigurationInternal)CacheConfiguration).CompressionSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICompressionSettings Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.CacheConfigurationCompressionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfigurationInternal)CacheConfiguration).CompressionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdRouteCacheConfigurationInternal)CacheConfiguration).CompressionSetting = value ?? null /* model class */; }
/// Internal Acessors for EndpointName
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRouteUpdatePropertiesParametersInternal.EndpointName { get => this._endpointName; set { {_endpointName = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Rule.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Rule.cs
index 7c1b25f61e16..1e640a3dd8f0 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Rule.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Rule.cs
@@ -50,46 +50,46 @@ public partial class Rule :
public string MatchProcessingBehavior { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).MatchProcessingBehavior; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).MatchProcessingBehavior = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RuleProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SetName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleInternal.SetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleInternal.SetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleProperties.cs
index c1423a3042d2..0567a1b718f4 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleProperties.cs
@@ -45,13 +45,13 @@ public partial class RuleProperties :
public string MatchProcessingBehavior { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)__ruleUpdatePropertiesParameters).MatchProcessingBehavior; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)__ruleUpdatePropertiesParameters).MatchProcessingBehavior = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for RuleSetName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal.RuleSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)__ruleUpdatePropertiesParameters).RuleSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)__ruleUpdatePropertiesParameters).RuleSetName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal.RuleSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)__ruleUpdatePropertiesParameters).RuleSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)__ruleUpdatePropertiesParameters).RuleSetName = value ?? null; }
///
/// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSet.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSet.cs
index 73b2333e8828..ff9c0a792dfb 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSet.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSet.cs
@@ -26,46 +26,46 @@ public partial class RuleSet :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetPropertiesInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetPropertiesInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RuleSetProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSetProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSetProperties.cs
index 019226a618b4..d8d6a7c8067a 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSetProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleSetProperties.cs
@@ -22,10 +22,10 @@ public partial class RuleSetProperties :
public string DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for ProfileName
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleSetPropertiesInternal.ProfileName { get => this._profileName; set { {_profileName = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleUpdateParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleUpdateParameters.cs
index 3331e21af81c..e4cf4219dc02 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleUpdateParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/RuleUpdateParameters.cs
@@ -34,7 +34,7 @@ public partial class RuleUpdateParameters :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RuleUpdatePropertiesParameters()); set { {_property = value;} } }
/// Internal Acessors for RuleSetName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdateParametersInternal.RuleSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdateParametersInternal.RuleSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IRuleUpdatePropertiesParametersInternal)Property).RuleSetName = value ?? null; }
///
/// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/Secret.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/Secret.cs
index 35f96f247806..f881ef5f66b1 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/Secret.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/Secret.cs
@@ -33,46 +33,46 @@ public partial class Secret :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretPropertiesInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretPropertiesInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecretProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecretProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecretProperties.cs
index 2837746e5572..82904eb1989c 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecretProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecretProperties.cs
@@ -22,10 +22,10 @@ public partial class SecretProperties :
public string DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for ProfileName
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecretPropertiesInternal.ProfileName { get => this._profileName; set { {_profileName = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicy.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicy.cs
index dd4d9f054bab..fde511f0f2a7 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicy.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicy.cs
@@ -33,46 +33,46 @@ public partial class SecurityPolicy :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyProperties Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.SecurityPolicyProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyProperties.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyProperties.cs
index b09f8edcd513..a76228d21cef 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyProperties.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyProperties.cs
@@ -22,10 +22,10 @@ public partial class SecurityPolicyProperties :
public string DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; }
/// Internal Acessors for DeploymentStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.DeploymentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).DeploymentStatus = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IAfdStatePropertiesInternal)__afdStateProperties).ProvisioningState = value ?? null; }
/// Internal Acessors for ProfileName
string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesInternal.ProfileName { get => this._profileName; set { {_profileName = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyWebApplicationFirewallParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyWebApplicationFirewallParameters.cs
index 48f76a8383c3..a5465f564244 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyWebApplicationFirewallParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/SecurityPolicyWebApplicationFirewallParameters.cs
@@ -27,7 +27,7 @@ public partial class SecurityPolicyWebApplicationFirewallParameters :
public System.Collections.Generic.List Association { get => this._association; set => this._association = value; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesParametersInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesParametersInternal)__securityPolicyPropertiesParameters).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesParametersInternal)__securityPolicyPropertiesParameters).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesParametersInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesParametersInternal)__securityPolicyPropertiesParameters).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyPropertiesParametersInternal)__securityPolicyPropertiesParameters).Type = value ; }
/// Internal Acessors for WafPolicy
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceReference Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicyWebApplicationFirewallParametersInternal.WafPolicy { get => (this._wafPolicy = this._wafPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ResourceReference()); set { {_wafPolicy = value;} } }
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/TrackedResource.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/TrackedResource.cs
index dff80782ff3d..b7bdc1a67264 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/TrackedResource.cs
@@ -31,34 +31,34 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Resource name.
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/UrlSigningKey.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/UrlSigningKey.cs
index da7c9ee45d60..93c0c82925ae 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/UrlSigningKey.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/UrlSigningKey.cs
@@ -56,7 +56,7 @@ public partial class UrlSigningKey :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultSigningKeyParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUrlSigningKeyInternal.KeySourceParameter { get => (this._keySourceParameter = this._keySourceParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.KeyVaultSigningKeyParameters()); set { {_keySourceParameter = value;} } }
/// Internal Acessors for KeySourceParameterTypeName
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUrlSigningKeyInternal.KeySourceParameterTypeName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultSigningKeyParametersInternal)KeySourceParameter).TypeName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultSigningKeyParametersInternal)KeySourceParameter).TypeName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUrlSigningKeyInternal.KeySourceParameterTypeName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultSigningKeyParametersInternal)KeySourceParameter).TypeName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultSigningKeyParametersInternal)KeySourceParameter).TypeName = value ; }
/// Creates an new instance.
public UrlSigningKey()
diff --git a/generated/Cdn/Cdn.Autorest/generated/api/Models/UserManagedHttpsParameters.cs b/generated/Cdn/Cdn.Autorest/generated/api/Models/UserManagedHttpsParameters.cs
index bda302c6f15f..32cf1163efeb 100644
--- a/generated/Cdn/Cdn.Autorest/generated/api/Models/UserManagedHttpsParameters.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/api/Models/UserManagedHttpsParameters.cs
@@ -76,10 +76,10 @@ public partial class UserManagedHttpsParameters :
Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParameters Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUserManagedHttpsParametersInternal.CertificateSourceParameter { get => (this._certificateSourceParameter = this._certificateSourceParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.KeyVaultCertificateSourceParameters()); set { {_certificateSourceParameter = value;} } }
/// Internal Acessors for CertificateSourceParameterDeleteRule
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUserManagedHttpsParametersInternal.CertificateSourceParameterDeleteRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).DeleteRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).DeleteRule = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUserManagedHttpsParametersInternal.CertificateSourceParameterDeleteRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).DeleteRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).DeleteRule = value ; }
/// Internal Acessors for CertificateSourceParameterUpdateRule
- string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUserManagedHttpsParametersInternal.CertificateSourceParameterUpdateRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).UpdateRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).UpdateRule = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IUserManagedHttpsParametersInternal.CertificateSourceParameterUpdateRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).UpdateRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IKeyVaultCertificateSourceParametersInternal)CertificateSourceParameter).UpdateRule = value ; }
/// TLS protocol version that will be used for Https
[Microsoft.Azure.PowerShell.Cmdlets.Cdn.Origin(Microsoft.Azure.PowerShell.Cmdlets.Cdn.PropertyOrigin.Inherited)]
diff --git a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index a009f36f9eec..bddc8b20d09c 100644
--- a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Cdn/Cdn.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/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index c77f6296817a..749d756af438 100644
--- a/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/Cdn/Cdn.Autorest/generated/runtime/MessageAttribute.cs b/generated/Cdn/Cdn.Autorest/generated/runtime/MessageAttribute.cs
index e74a29b4ace2..b677073e5da8 100644
--- a/generated/Cdn/Cdn.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Cdn/Cdn.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Cdn.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.Cdn" : @"";
+
//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/Cdn/Cdn.Autorest/generated/runtime/Properties/Resources.resx b/generated/Cdn/Cdn.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Cdn/Cdn.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Cdn/Cdn.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/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1
index 4f758b74b3f8..be9a4a88ab51 100644
--- a/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1
+++ b/generated/Cdn/Cdn.Autorest/internal/New-AzCdnProfile.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
+Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
.Description
-create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
+Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
.Example
New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global
diff --git a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1
index b8245002acc4..02becffd8316 100644
--- a/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/Cdn/Cdn.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -2567,9 +2567,9 @@ end {
<#
.Synopsis
-create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
+Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
.Description
-create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
+Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
.Example
New-AzCdnProfile -ResourceGroupName testps-rg-da16jm -Name cdn001 -SkuName Standard_Microsoft -Location Global
@@ -3418,9 +3418,9 @@ end {
<#
.Synopsis
-update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
+Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
.Description
-update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
+Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
.Example
$tags = @{
Tag1 = 11
diff --git a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1 b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1
index fe161a6e16dc..e4ec9a7c9e1b 100644
--- a/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1
+++ b/generated/Cdn/Cdn.Autorest/internal/Update-AzCdnProfile.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
+Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
.Description
-update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
+Update an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
.Example
$tags = @{
Tag1 = 11
diff --git a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/Change.cs b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/Change.cs
index 26b32f480bac..79cdc5dffe9e 100644
--- a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/Change.cs
+++ b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/Change.cs
@@ -40,13 +40,13 @@ public partial class Change :
Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IChangeProperties Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IChangeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.ChangeProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Origin(Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.PropertyOrigin.Inherited)]
diff --git a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ErrorResponse.cs b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ErrorResponse.cs
index 078ef1b37ef8..482503cfb470 100644
--- a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Origin(Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.PropertyOrigin.Inlined)]
diff --git a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ProxyResource.cs b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ProxyResource.cs
index 3f1582401f97..47b8ddaf95a8 100644
--- a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,13 +27,13 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Origin(Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.PropertyOrigin.Inherited)]
diff --git a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 108c2def8ff6..e3c145a4a7af 100644
--- a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ChangeAnalysis/ChangeAnalysis.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/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index a3bdc95b7ec6..42bc6ad53a4e 100644
--- a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/MessageAttribute.cs b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/MessageAttribute.cs
index 6e5c2ede1f33..d5576067f02c 100644
--- a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.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.ChangeAnalysis" : @"";
+
//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/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/Properties/Resources.resx b/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ChangeAnalysis/ChangeAnalysis.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ChangeAnalysis/ChangeAnalysis.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/Chaos/Chaos.Autorest/Properties/AssemblyInfo.cs b/generated/Chaos/Chaos.Autorest/Properties/AssemblyInfo.cs
deleted file mode 100644
index 57a6c1bd8d53..000000000000
--- a/generated/Chaos/Chaos.Autorest/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// 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.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Microsoft Azure Powershell - Chaos")]
-[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
-[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
-[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(false)]
-[assembly: Guid("1a8283a2-0dad-4783-a7db-5f9b9998ed70")]
-[assembly: AssemblyVersion("0.1.1")]
-[assembly: AssemblyFileVersion("0.1.1")]
diff --git a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapability.ps1 b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapability.ps1
index f9af38431554..96873e17abeb 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapability.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapability.ps1
@@ -199,6 +199,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -223,8 +232,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosCapability_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -238,6 +245,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapabilityType.ps1 b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapabilityType.ps1
index 5b25de200867..fbff5e827db1 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapabilityType.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosCapabilityType.ps1
@@ -203,6 +203,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -228,8 +237,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosCapabilityType_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -243,6 +250,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExecutionExperimentDetail.ps1 b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExecutionExperimentDetail.ps1
index 0648255bb877..62fba4bb5c31 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExecutionExperimentDetail.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExecutionExperimentDetail.ps1
@@ -166,6 +166,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -189,8 +198,6 @@ begin {
ExecutionViaIdentityExperiment = 'Az.Chaos.private\Get-AzChaosExecutionExperimentDetail_ExecutionViaIdentityExperiment';
}
if (('Execution') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -204,6 +211,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperiment.ps1 b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperiment.ps1
index f99ffa1ebe13..6c238fa4473b 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperiment.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperiment.ps1
@@ -159,6 +159,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -183,8 +192,6 @@ begin {
List1 = 'Az.Chaos.private\Get-AzChaosExperiment_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -198,6 +205,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperimentExecution.ps1 b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperimentExecution.ps1
index dda6e3b404c5..0ac4d4cac485 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperimentExecution.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosExperimentExecution.ps1
@@ -171,6 +171,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -195,8 +204,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosExperimentExecution_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -210,6 +217,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTarget.ps1 b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTarget.ps1
index fa3c682ad7a5..8ffd40329773 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTarget.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTarget.ps1
@@ -168,6 +168,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -191,8 +200,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosTarget_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -206,6 +213,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTargetType.ps1 b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTargetType.ps1
index 7c39fdbdd7e4..b3ca0ab90bbd 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTargetType.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Get-AzChaosTargetType.ps1
@@ -171,6 +171,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -195,8 +204,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosTargetType_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -210,6 +217,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosActionObject.ps1 b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosActionObject.ps1
index 5b1494425431..54962ca1d137 100644
--- a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosActionObject.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosActionObject.ps1
@@ -52,6 +52,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -79,6 +82,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosBranchObject.ps1 b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosBranchObject.ps1
index 32456fc89012..a4ee23302afa 100644
--- a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosBranchObject.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosBranchObject.ps1
@@ -61,6 +61,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -88,6 +91,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosCapability.ps1 b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosCapability.ps1
index c3aeea7e8696..9bf4d688aab9 100644
--- a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosCapability.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosCapability.ps1
@@ -211,6 +211,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -236,8 +245,6 @@ begin {
CreateViaJsonString = 'Az.Chaos.private\New-AzChaosCapability_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -251,6 +258,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosExperiment.ps1 b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosExperiment.ps1
index 417f518b97d2..7d2263f755fd 100644
--- a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosExperiment.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosExperiment.ps1
@@ -180,6 +180,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -202,8 +211,6 @@ begin {
CreateViaJsonString = 'Az.Chaos.private\New-AzChaosExperiment_CreateViaJsonString';
}
if (('CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -217,6 +224,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosSelectorObject.ps1 b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosSelectorObject.ps1
index ae172fe4e670..b77e23f48f18 100644
--- a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosSelectorObject.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosSelectorObject.ps1
@@ -53,6 +53,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -80,6 +83,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosStepObject.ps1 b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosStepObject.ps1
index d3acf1dfa63a..bc889bab845a 100644
--- a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosStepObject.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosStepObject.ps1
@@ -64,6 +64,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -91,6 +94,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosTarget.ps1 b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosTarget.ps1
index b3a8b660cee3..598dcb8427ca 100644
--- a/generated/Chaos/Chaos.Autorest/exports/New-AzChaosTarget.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/New-AzChaosTarget.ps1
@@ -197,6 +197,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -221,8 +230,6 @@ begin {
CreateViaJsonString = 'Az.Chaos.private\New-AzChaosTarget_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -236,6 +243,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Chaos/Chaos.Autorest/exports/ProxyCmdletDefinitions.ps1
index e461976e6d0a..4f2fe8f9706a 100644
--- a/generated/Chaos/Chaos.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -203,6 +203,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -228,8 +237,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosCapabilityType_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -243,6 +250,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -471,6 +481,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -495,8 +514,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosCapability_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -510,6 +527,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -705,6 +725,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -728,8 +757,6 @@ begin {
ExecutionViaIdentityExperiment = 'Az.Chaos.private\Get-AzChaosExecutionExperimentDetail_ExecutionViaIdentityExperiment';
}
if (('Execution') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -743,6 +770,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -943,6 +973,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -967,8 +1006,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosExperimentExecution_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -982,6 +1019,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1170,6 +1210,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1194,8 +1243,6 @@ begin {
List1 = 'Az.Chaos.private\Get-AzChaosExperiment_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1209,6 +1256,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1409,6 +1459,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1433,8 +1492,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosTargetType_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1448,6 +1505,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1645,6 +1705,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1668,8 +1737,6 @@ begin {
List = 'Az.Chaos.private\Get-AzChaosTarget_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1683,6 +1750,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1923,6 +1993,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1948,8 +2027,6 @@ begin {
CreateViaJsonString = 'Az.Chaos.private\New-AzChaosCapability_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1963,6 +2040,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2172,6 +2252,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2194,8 +2283,6 @@ begin {
CreateViaJsonString = 'Az.Chaos.private\New-AzChaosExperiment_CreateViaJsonString';
}
if (('CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2209,6 +2296,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2435,6 +2525,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2459,8 +2558,6 @@ begin {
CreateViaJsonString = 'Az.Chaos.private\New-AzChaosTarget_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2474,6 +2571,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2694,6 +2794,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2717,8 +2826,6 @@ begin {
DeleteViaIdentityTarget = 'Az.Chaos.private\Remove-AzChaosCapability_DeleteViaIdentityTarget';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2732,6 +2839,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2916,6 +3026,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2938,8 +3057,6 @@ begin {
DeleteViaIdentity = 'Az.Chaos.private\Remove-AzChaosExperiment_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2953,6 +3070,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3143,6 +3263,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3165,8 +3294,6 @@ begin {
DeleteViaIdentity = 'Az.Chaos.private\Remove-AzChaosTarget_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3180,6 +3307,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3358,6 +3488,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3380,8 +3519,6 @@ begin {
StartViaIdentity = 'Az.Chaos.private\Start-AzChaosExperiment_StartViaIdentity';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3395,6 +3532,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3573,6 +3713,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3595,8 +3744,6 @@ begin {
CancelViaIdentity = 'Az.Chaos.private\Stop-AzChaosExperiment_CancelViaIdentity';
}
if (('Cancel') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3610,6 +3757,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3824,6 +3974,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3847,8 +4006,6 @@ begin {
UpdateViaIdentityTargetExpanded = 'Az.Chaos.private\Update-AzChaosCapability_UpdateViaIdentityTargetExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3862,6 +4019,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3988,7 +4148,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Category('Body')]
[System.Nullable[System.Boolean]]
- # Decides if enable a system assigned identity for the resource.
+ # Determines whether to enable a system-assigned identity for the resource.
${EnableSystemAssignedIdentity},
[Parameter()]
@@ -4095,6 +4255,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4117,8 +4286,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.Chaos.private\Update-AzChaosExperiment_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4132,6 +4299,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4332,6 +4502,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4354,8 +4533,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.Chaos.private\Update-AzChaosTarget_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4369,6 +4546,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4450,6 +4630,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4477,6 +4660,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4567,6 +4753,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4594,6 +4783,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4676,6 +4868,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4703,6 +4898,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4796,6 +4994,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4823,6 +5024,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosCapability.ps1 b/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosCapability.ps1
index a8c49afaec84..55b86e70d853 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosCapability.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosCapability.ps1
@@ -191,6 +191,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -214,8 +223,6 @@ begin {
DeleteViaIdentityTarget = 'Az.Chaos.private\Remove-AzChaosCapability_DeleteViaIdentityTarget';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -229,6 +236,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosExperiment.ps1 b/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosExperiment.ps1
index e5c6f441027d..510b6ff8779a 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosExperiment.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosExperiment.ps1
@@ -155,6 +155,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -177,8 +186,6 @@ begin {
DeleteViaIdentity = 'Az.Chaos.private\Remove-AzChaosExperiment_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -192,6 +199,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosTarget.ps1 b/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosTarget.ps1
index 9a7c0b22ed38..b1864d58e592 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosTarget.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Remove-AzChaosTarget.ps1
@@ -161,6 +161,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -183,8 +192,6 @@ begin {
DeleteViaIdentity = 'Az.Chaos.private\Remove-AzChaosTarget_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -198,6 +205,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Start-AzChaosExperiment.ps1 b/generated/Chaos/Chaos.Autorest/exports/Start-AzChaosExperiment.ps1
index 8c42703553c1..17f68e764f34 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Start-AzChaosExperiment.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Start-AzChaosExperiment.ps1
@@ -149,6 +149,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -171,8 +180,6 @@ begin {
StartViaIdentity = 'Az.Chaos.private\Start-AzChaosExperiment_StartViaIdentity';
}
if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -186,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Stop-AzChaosExperiment.ps1 b/generated/Chaos/Chaos.Autorest/exports/Stop-AzChaosExperiment.ps1
index ba2645dd3ec6..9809aaf7f760 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Stop-AzChaosExperiment.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Stop-AzChaosExperiment.ps1
@@ -149,6 +149,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -171,8 +180,6 @@ begin {
CancelViaIdentity = 'Az.Chaos.private\Stop-AzChaosExperiment_CancelViaIdentity';
}
if (('Cancel') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -186,6 +193,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosCapability.ps1 b/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosCapability.ps1
index 87c79327fa7c..defd3425e6a4 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosCapability.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosCapability.ps1
@@ -185,6 +185,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -208,8 +217,6 @@ begin {
UpdateViaIdentityTargetExpanded = 'Az.Chaos.private\Update-AzChaosCapability_UpdateViaIdentityTargetExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -223,6 +230,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosExperiment.ps1 b/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosExperiment.ps1
index 366fa5374f94..d2cd54a3074d 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosExperiment.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosExperiment.ps1
@@ -97,7 +97,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Category('Body')]
[System.Nullable[System.Boolean]]
- # Decides if enable a system assigned identity for the resource.
+ # Determines whether to enable a system-assigned identity for the resource.
${EnableSystemAssignedIdentity},
[Parameter()]
@@ -204,6 +204,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -226,8 +235,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.Chaos.private\Update-AzChaosExperiment_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -241,6 +248,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosTarget.ps1 b/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosTarget.ps1
index c5347279bd7b..baf5229b4f3d 100644
--- a/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosTarget.ps1
+++ b/generated/Chaos/Chaos.Autorest/exports/Update-AzChaosTarget.ps1
@@ -171,6 +171,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -193,8 +202,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.Chaos.private\Update-AzChaosTarget_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -208,6 +215,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Chaos.cs b/generated/Chaos/Chaos.Autorest/generated/api/Chaos.cs
index 2fdc7b002360..0062ec744bbc 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Chaos.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Chaos.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos
public partial class Chaos
{
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
@@ -75,7 +75,7 @@ public partial class Chaos
}
}
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
///
/// Capability resource to be created or updated.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -146,7 +146,7 @@ public partial class Chaos
}
}
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
///
/// Capability resource to be created or updated.
/// an instance that will receive events.
@@ -215,7 +215,7 @@ public partial class Chaos
}
}
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
@@ -275,7 +275,7 @@ public partial class Chaos
}
}
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
@@ -333,7 +333,7 @@ public partial class Chaos
}
}
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
@@ -2409,17 +2409,18 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -2432,7 +2433,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -2560,17 +2564,18 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -2583,7 +2588,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -2708,7 +2716,7 @@ public partial class Chaos
}
}
- /// Update a Experiment resource.
+ /// update a Experiment resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a Experiment resource name.
@@ -2757,7 +2765,7 @@ public partial class Chaos
}
}
- /// Update a Experiment resource.
+ /// update a Experiment resource.
///
/// Experiment resource to be created or updated.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -2816,7 +2824,7 @@ public partial class Chaos
}
}
- /// Update a Experiment resource.
+ /// update a Experiment resource.
///
/// Experiment resource to be created or updated.
/// an instance that will receive events.
@@ -2873,7 +2881,7 @@ public partial class Chaos
}
}
- /// Update a Experiment resource.
+ /// update a Experiment resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a Experiment resource name.
@@ -2921,7 +2929,7 @@ public partial class Chaos
}
}
- /// Update a Experiment resource.
+ /// update a Experiment resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a Experiment resource name.
@@ -2967,7 +2975,7 @@ public partial class Chaos
}
}
- /// Update a Experiment resource.
+ /// update a Experiment resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a Experiment resource name.
@@ -3031,16 +3039,17 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -3053,7 +3062,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -3181,16 +3193,17 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -3203,7 +3216,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -3444,17 +3460,18 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -3467,7 +3484,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -5808,17 +5828,18 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -5831,7 +5852,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -5959,17 +5983,18 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -5982,7 +6007,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -6428,17 +6456,18 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -6451,7 +6480,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -6579,17 +6611,18 @@ public partial class Chaos
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.Chaos.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Chaos.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");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -6602,7 +6635,10 @@ public partial class Chaos
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -7980,7 +8016,7 @@ public partial class Chaos
}
}
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
@@ -8038,7 +8074,7 @@ public partial class Chaos
}
}
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
///
/// Target resource to be created or updated.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -8106,7 +8142,7 @@ public partial class Chaos
}
}
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
///
/// Target resource to be created or updated.
/// an instance that will receive events.
@@ -8172,7 +8208,7 @@ public partial class Chaos
}
}
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
@@ -8229,7 +8265,7 @@ public partial class Chaos
}
}
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
@@ -8284,7 +8320,7 @@ public partial class Chaos
}
}
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
/// GUID that represents an Azure subscription ID.
/// String that represents an Azure resource group.
/// String that represents a resource provider namespace.
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/Capability.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/Capability.cs
index 34e8bd217f84..cfdc255a92bf 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/Capability.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/Capability.cs
@@ -29,34 +29,52 @@ public partial class Capability :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Description
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Description = value ?? null; }
/// Internal Acessors for ParametersSchema
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.ParametersSchema { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).ParametersSchema; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).ParametersSchema = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.ParametersSchema { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).ParametersSchema; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).ParametersSchema = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.CapabilityProperties()); set { {_property = value;} } }
/// Internal Acessors for Publisher
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Publisher = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Publisher = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for TargetType
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.TargetType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).TargetType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).TargetType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.TargetType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).TargetType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).TargetType = value ?? null; }
/// Internal Acessors for Urn
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.Urn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Urn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Urn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityInternal.Urn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Urn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityPropertiesInternal)Property).Urn = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inherited)]
@@ -90,27 +108,27 @@ public partial class Capability :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// String of the Target Type that this Capability extends.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityType.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityType.cs
index 46402bf0b2b2..5fbfd93ab6a0 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityType.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityType.cs
@@ -20,11 +20,11 @@ public partial class CapabilityType :
/// Control plane actions necessary to execute capability type.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List AzureRbacAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacAction = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List AzureRbacAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacAction; }
/// Data plane actions necessary to execute capability type.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List AzureRbacDataAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacDataAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacDataAction = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List AzureRbacDataAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacDataAction; }
/// Localized string of the description.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
@@ -51,47 +51,71 @@ public partial class CapabilityType :
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Owned)]
public string Location { get => this._location; set => this._location = value; }
+ /// Internal Acessors for AzureRbacAction
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.AzureRbacAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacAction = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for AzureRbacDataAction
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.AzureRbacDataAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacDataAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).AzureRbacDataAction = value ?? null /* arrayOf */; }
+
/// Internal Acessors for Description
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Description = value ?? null; }
/// Internal Acessors for DisplayName
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).DisplayName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).DisplayName = value ?? null; }
/// Internal Acessors for Kind
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Kind = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Kind = value ?? null; }
/// Internal Acessors for ParametersSchema
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.ParametersSchema { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).ParametersSchema; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).ParametersSchema = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.ParametersSchema { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).ParametersSchema; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).ParametersSchema = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.CapabilityTypeProperties()); set { {_property = value;} } }
/// Internal Acessors for Publisher
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Publisher = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Publisher = value ?? null; }
/// Internal Acessors for RuntimeProperty
- Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesRuntimeProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.RuntimeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesRuntimeProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.RuntimeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimeProperty = value ?? null /* model class */; }
/// Internal Acessors for RuntimePropertyKind
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.RuntimePropertyKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimePropertyKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimePropertyKind = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.RuntimePropertyKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimePropertyKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).RuntimePropertyKind = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for TargetType
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.TargetType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).TargetType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).TargetType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.TargetType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).TargetType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).TargetType = value ?? null; }
/// Internal Acessors for Urn
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Urn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Urn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Urn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypeInternal.Urn { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Urn; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal)Property).Urn = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inherited)]
@@ -129,27 +153,27 @@ public partial class CapabilityType :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// String of the Target Type that this Capability Type extends.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityTypeProperties.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityTypeProperties.cs
index cadbf22a74b2..8e1884b77746 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityTypeProperties.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/CapabilityTypeProperties.cs
@@ -67,7 +67,7 @@ public partial class CapabilityTypeProperties :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesRuntimeProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal.RuntimeProperty { get => (this._runtimeProperty = this._runtimeProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.CapabilityTypePropertiesRuntimeProperties()); set { {_runtimeProperty = value;} } }
/// Internal Acessors for RuntimePropertyKind
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal.RuntimePropertyKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesRuntimePropertiesInternal)RuntimeProperty).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesRuntimePropertiesInternal)RuntimeProperty).Kind = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal.RuntimePropertyKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesRuntimePropertiesInternal)RuntimeProperty).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesRuntimePropertiesInternal)RuntimeProperty).Kind = value ?? null; }
/// Internal Acessors for TargetType
string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapabilityTypePropertiesInternal.TargetType { get => this._targetType; set { {_targetType = value;} } }
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/ErrorResponse.cs
index 47612c8ac4eb..14a913af4985 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/Experiment.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/Experiment.cs
index cf19a6ef5d47..1593707ae27e 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/Experiment.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/Experiment.cs
@@ -58,28 +58,46 @@ public partial class Experiment :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentity Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ResourceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ExperimentProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inherited)]
@@ -117,27 +135,27 @@ public partial class Experiment :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inherited)]
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecution.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecution.cs
index add59cbfb0cf..ca4355d07b46 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecution.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecution.cs
@@ -30,13 +30,13 @@ public partial class ExperimentExecution :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ExperimentExecutionProperties()); set { {_property = value;} } }
/// Internal Acessors for StartedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for StoppedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.StoppedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.StoppedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionActionTargetDetailsProperties.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionActionTargetDetailsProperties.cs
index f09cec8a1a2d..f4c69e699a4d 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionActionTargetDetailsProperties.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionActionTargetDetailsProperties.cs
@@ -29,13 +29,13 @@ public partial class ExperimentExecutionActionTargetDetailsProperties :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Message; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsPropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsPropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Code = value ?? null; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsError Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsPropertiesInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ExperimentExecutionActionTargetDetailsError()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsPropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsPropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsErrorInternal)Error).Message = value ?? null; }
/// Internal Acessors for Status
string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionActionTargetDetailsPropertiesInternal.Status { get => this._status; set { {_status = value;} } }
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetails.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetails.cs
index 4dd953b4bafa..bcd562d55b1a 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetails.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetails.cs
@@ -29,13 +29,13 @@ public partial class ExperimentExecutionDetails :
public global::System.DateTime? LastActionAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).LastActionAt; }
/// Internal Acessors for FailureReason
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.FailureReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).FailureReason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).FailureReason = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.FailureReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).FailureReason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).FailureReason = value ?? null; }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.Id { get => this._id; set { {_id = value;} } }
/// Internal Acessors for LastActionAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.LastActionAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).LastActionAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).LastActionAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.LastActionAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).LastActionAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).LastActionAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.Name { get => this._name; set { {_name = value;} } }
@@ -44,19 +44,19 @@ public partial class ExperimentExecutionDetails :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ExperimentExecutionDetailsProperties()); set { {_property = value;} } }
/// Internal Acessors for RunInformation
- Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformation Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.RunInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformation Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.RunInformation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformation = value ?? null /* model class */; }
/// Internal Acessors for RunInformationStep
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.RunInformationStep { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformationStep; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformationStep = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.RunInformationStep { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformationStep; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal)Property).RunInformationStep = value ?? null /* arrayOf */; }
/// Internal Acessors for StartedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StartedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for StoppedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.StoppedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.StoppedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)Property).StoppedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetailsProperties.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetailsProperties.cs
index 2f5cd2c4507c..21c18cc45d00 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetailsProperties.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentExecutionDetailsProperties.cs
@@ -43,16 +43,16 @@ public partial class ExperimentExecutionDetailsProperties :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformation Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal.RunInformation { get => (this._runInformation = this._runInformation ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ExperimentExecutionDetailsPropertiesRunInformation()); set { {_runInformation = value;} } }
/// Internal Acessors for RunInformationStep
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal.RunInformationStep { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformationInternal)RunInformation).Step; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformationInternal)RunInformation).Step = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesInternal.RunInformationStep { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformationInternal)RunInformation).Step; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformationInternal)RunInformation).Step = value ?? null /* arrayOf */; }
/// Internal Acessors for StartedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StartedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal.StartedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StartedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StartedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).Status = value ?? null; }
/// Internal Acessors for StoppedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal.StoppedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StoppedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StoppedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal.StoppedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StoppedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionPropertiesInternal)__experimentExecutionProperties).StoppedAt = value ?? default(global::System.DateTime); }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentExecutionDetailsPropertiesRunInformation _runInformation;
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentUpdate.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentUpdate.cs
index f75fabbf78df..4fb7b00bdb8b 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentUpdate.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/ExperimentUpdate.cs
@@ -43,10 +43,10 @@ public partial class ExperimentUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentity Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ResourceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperimentUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentityInternal)Identity).TenantId = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITags _tag;
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/ListSelector.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/ListSelector.cs
index 3c29344d7932..1563aaac4a93 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/ListSelector.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/ListSelector.cs
@@ -35,10 +35,10 @@ public partial class ListSelector :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Id = value ; }
/// Internal Acessors for Filter
- Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.Filter { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.Filter { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter = value ?? null /* model class */; }
/// Internal Acessors for FilterType
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.FilterType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.FilterType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType = value ?? null; }
/// Backing field for property.
private System.Collections.Generic.List _target;
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/Operation.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/Operation.cs
index a089bc3832c1..fdd35b50f931 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/OperationStatus.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/OperationStatus.cs
index 23a8ef945a9b..bf58ff60cf74 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/OperationStatus.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/OperationStatus.cs
@@ -53,22 +53,22 @@ public partial class OperationStatus :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
- Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Error = value ?? null /* model class */; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IErrorResponseInternal)__errorResponse).Target = value ?? null; }
/// Backing field for property.
private string _name;
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/QuerySelector.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/QuerySelector.cs
index 10ad2ac2c874..4915b060cb8c 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/QuerySelector.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/QuerySelector.cs
@@ -35,10 +35,10 @@ public partial class QuerySelector :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Id = value ; }
/// Internal Acessors for Filter
- Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.Filter { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.Filter { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).Filter = value ?? null /* model class */; }
/// Internal Acessors for FilterType
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.FilterType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.FilterType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal)__selector).FilterType = value ?? null; }
/// Backing field for property.
private string _queryString;
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/Selector.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/Selector.cs
index a7b642b4ee86..7e2c991c9b05 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/Selector.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/Selector.cs
@@ -39,7 +39,7 @@ public partial class Selector :
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.Filter { get => (this._filter = this._filter ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.Filter()); set { {_filter = value;} } }
/// Internal Acessors for FilterType
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.FilterType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)Filter).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)Filter).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelectorInternal.FilterType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)Filter).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)Filter).Type = value ?? null; }
/// Backing field for property.
private string _type;
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/SimpleFilter.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/SimpleFilter.cs
index cffdf42db510..31ac922fc06e 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/SimpleFilter.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/SimpleFilter.cs
@@ -19,7 +19,7 @@ public partial class SimpleFilter :
private Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter __filter = new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.Filter();
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)__filter).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)__filter).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)__filter).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilterInternal)__filter).Type = value ; }
/// Internal Acessors for Parameter
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISimpleFilterParameters Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISimpleFilterInternal.Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SimpleFilterParameters()); set { {_parameter = value;} } }
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/Target.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/Target.cs
index ac528b44cd32..1f515d5a2346 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/Target.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/Target.cs
@@ -32,17 +32,35 @@ public partial class Target :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inherited)]
public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; }
@@ -67,27 +85,27 @@ public partial class Target :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/TargetType.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/TargetType.cs
index 95d5f5ae5bc1..967f8bd20d0c 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/TargetType.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/TargetType.cs
@@ -40,32 +40,50 @@ public partial class TargetType :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value ?? null; }
/// Internal Acessors for Description
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).Description = value ?? null; }
/// Internal Acessors for DisplayName
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).DisplayName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).DisplayName = value ?? null; }
/// Internal Acessors for PropertiesSchema
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.PropertiesSchema { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).PropertiesSchema; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).PropertiesSchema = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.PropertiesSchema { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).PropertiesSchema; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).PropertiesSchema = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeProperties Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.TargetTypeProperties()); set { {_property = value;} } }
/// Internal Acessors for ResourceType
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.ResourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).ResourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).ResourceType = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.ResourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).ResourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypePropertiesInternal)Property).ResourceType = value ?? null /* arrayOf */; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetTypeInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inherited)]
public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; }
@@ -98,27 +116,27 @@ public partial class TargetType :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Chaos/Chaos.Autorest/generated/api/Models/TrackedResource.cs b/generated/Chaos/Chaos.Autorest/generated/api/Models/TrackedResource.cs
index 3cfe7319ba24..efc1408ae87d 100644
--- a/generated/Chaos/Chaos.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/api/Models/TrackedResource.cs
@@ -34,13 +34,13 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Chaos.Origin(Microsoft.Azure.PowerShell.Cmdlets.Chaos.PropertyOrigin.Inherited)]
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateExpanded.cs
index bdf8f8a78361..00296d9efa3f 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Capability resource that extends a Target resource.
+ /// create a Capability resource that extends a Target resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosCapability_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}", ApiVersion = "2024-01-01")]
public partial class NewAzChaosCapability_CreateExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityExpanded.cs
index f315fc9eb4df..38e1047f0fc9 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Capability resource that extends a Target resource.
+ /// create a Capability resource that extends a Target resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosCapability_CreateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}", ApiVersion = "2024-01-01")]
public partial class NewAzChaosCapability_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityTargetExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityTargetExpanded.cs
index dd896173e190..78e8ef91f836 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityTargetExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaIdentityTargetExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Capability resource that extends a Target resource.
+ /// create a Capability resource that extends a Target resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosCapability_CreateViaIdentityTargetExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}", ApiVersion = "2024-01-01")]
public partial class NewAzChaosCapability_CreateViaIdentityTargetExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonFilePath.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonFilePath.cs
index 0af64a845d91..3cadca111d93 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonFilePath.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Capability resource that extends a Target resource.
+ /// create a Capability resource that extends a Target resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosCapability_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}", ApiVersion = "2024-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.NotSuggestDefaultParameterSet]
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonString.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonString.cs
index df235828dac5..a4ae94d68fb6 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonString.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosCapability_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Capability resource that extends a Target resource.
+ /// create a Capability resource that extends a Target resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosCapability_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}", ApiVersion = "2024-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.NotSuggestDefaultParameterSet]
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonFilePath.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonFilePath.cs
index c2eaa3112b88..bc90a2dcd340 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonFilePath.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Experiment resource.
+ /// create a Experiment resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosExperiment_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperiment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Experiment resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Experiment resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}", ApiVersion = "2024-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.NotSuggestDefaultParameterSet]
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonString.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonString.cs
index 1b2021e9f6bc..315cbb1d3035 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonString.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosExperiment_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Experiment resource.
+ /// create a Experiment resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosExperiment_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperiment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Experiment resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Experiment resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}", ApiVersion = "2024-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.NotSuggestDefaultParameterSet]
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateExpanded.cs
index b420cb24957d..f88b5f233b6b 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Target resource that extends a tracked regional resource.
+ /// create a Target resource that extends a tracked regional resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosTarget_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITarget))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Target resource that extends a tracked regional resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Target resource that extends a tracked regional resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}", ApiVersion = "2024-01-01")]
public partial class NewAzChaosTarget_CreateExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaIdentityExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaIdentityExpanded.cs
index da92088110a9..99fbed331fcc 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaIdentityExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaIdentityExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Target resource that extends a tracked regional resource.
+ /// create a Target resource that extends a tracked regional resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosTarget_CreateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITarget))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Target resource that extends a tracked regional resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Target resource that extends a tracked regional resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}", ApiVersion = "2024-01-01")]
public partial class NewAzChaosTarget_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonFilePath.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonFilePath.cs
index b00275777473..3cf46d2b23f5 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonFilePath.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Target resource that extends a tracked regional resource.
+ /// create a Target resource that extends a tracked regional resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosTarget_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITarget))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Target resource that extends a tracked regional resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Target resource that extends a tracked regional resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}", ApiVersion = "2024-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.NotSuggestDefaultParameterSet]
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonString.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonString.cs
index de0abafdb983..f641381d27df 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonString.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/NewAzChaosTarget_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Create a Target resource that extends a tracked regional resource.
+ /// create a Target resource that extends a tracked regional resource.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzChaosTarget_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITarget))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Create a Target resource that extends a tracked regional resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"create a Target resource that extends a tracked regional resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}", ApiVersion = "2024-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.NotSuggestDefaultParameterSet]
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateExpanded.cs
index 4113f93f0496..4017ceed7a03 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzChaosCapability_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Update a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"update a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
public partial class UpdateAzChaosCapability_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IEventListener,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityExpanded.cs
index 516bb2336fb1..494987594a54 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzChaosCapability_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Update a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"update a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
public partial class UpdateAzChaosCapability_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IEventListener,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityTargetExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityTargetExpanded.cs
index 3ef4322d6033..8233c367439f 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityTargetExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosCapability_UpdateViaIdentityTargetExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Update a Capability resource that extends a Target resource.
+ /// update a Capability resource that extends a Target resource.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzChaosCapability_UpdateViaIdentityTargetExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Update a Capability resource that extends a Target resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"update a Capability resource that extends a Target resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
public partial class UpdateAzChaosCapability_UpdateViaIdentityTargetExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IEventListener,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateExpanded.cs
index 312344c25cae..0c052baa641b 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Update a Experiment resource.
+ /// update a Experiment resource.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzChaosExperiment_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperiment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Update a Experiment resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"update a Experiment resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
public partial class UpdateAzChaosExperiment_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IEventListener,
@@ -78,8 +78,8 @@ public partial class UpdateAzChaosExperiment_UpdateExpanded : global::System.Man
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.ParameterCategory.Azure)]
public global::System.Management.Automation.PSObject DefaultProfile { get; set; }
- /// Decides if enable a system assigned identity for the resource.
- [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Decides if enable a system assigned identity for the resource.")]
+ /// Determines whether to enable a system-assigned identity for the resource.
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Determines whether to enable a system-assigned identity for the resource.")]
public System.Boolean? EnableSystemAssignedIdentity { get; set; }
/// Accessor for extensibleParameters.
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateViaIdentityExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateViaIdentityExpanded.cs
index 9d6ef0ec968d..37f06b1ac662 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateViaIdentityExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosExperiment_UpdateViaIdentityExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Update a Experiment resource.
+ /// update a Experiment resource.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzChaosExperiment_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IExperiment))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Update a Experiment resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"update a Experiment resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
public partial class UpdateAzChaosExperiment_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IEventListener,
@@ -78,8 +78,8 @@ public partial class UpdateAzChaosExperiment_UpdateViaIdentityExpanded : global:
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.ParameterCategory.Azure)]
public global::System.Management.Automation.PSObject DefaultProfile { get; set; }
- /// Decides if enable a system assigned identity for the resource.
- [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Decides if enable a system assigned identity for the resource.")]
+ /// Determines whether to enable a system-assigned identity for the resource.
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Determines whether to enable a system-assigned identity for the resource.")]
public System.Boolean? EnableSystemAssignedIdentity { get; set; }
/// Accessor for extensibleParameters.
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateExpanded.cs
index abc8dc596010..f19e1ba4ecdc 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzChaosTarget_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITarget))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Update a Target resource that extends a tracked regional resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"update a Target resource that extends a tracked regional resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
public partial class UpdateAzChaosTarget_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IEventListener,
diff --git a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateViaIdentityExpanded.cs b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateViaIdentityExpanded.cs
index 73e03f5be8bb..c662731b5248 100644
--- a/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateViaIdentityExpanded.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/cmdlets/UpdateAzChaosTarget_UpdateViaIdentityExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Cmdlets;
using System;
- /// Update a Target resource that extends a tracked regional resource.
+ /// update a Target resource that extends a tracked regional resource.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzChaosTarget_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITarget))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"Update a Target resource that extends a tracked regional resource.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Description(@"update a Target resource that extends a tracked regional resource.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Chaos.Generated]
public partial class UpdateAzChaosTarget_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IEventListener,
diff --git a/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 5f649e4f67c0..55b7a80a292e 100644
--- a/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Chaos/Chaos.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/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index f77948dced50..126c9ee84190 100644
--- a/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.Chaos.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.Chaos.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 +316,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.Chaos.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/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 0705c63a723a..e12088dc24c7 100644
--- a/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Chaos/Chaos.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/Chaos/Chaos.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index 361b6e0ea0fe..27d1ebedcc04 100644
--- a/generated/Chaos/Chaos.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/Chaos/Chaos.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/Chaos/Chaos.Autorest/generated/runtime/MessageAttribute.cs b/generated/Chaos/Chaos.Autorest/generated/runtime/MessageAttribute.cs
index e8dcbeaca6dc..67c852d20e95 100644
--- a/generated/Chaos/Chaos.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Chaos/Chaos.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Chaos.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.Chaos" : @"";
+
//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/Chaos/Chaos.Autorest/generated/runtime/Properties/Resources.resx b/generated/Chaos/Chaos.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Chaos/Chaos.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Chaos/Chaos.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/Chaos/Chaos.Autorest/internal/Get-AzChaosOperation.ps1 b/generated/Chaos/Chaos.Autorest/internal/Get-AzChaosOperation.ps1
index d68b59e57a7c..2485dcfbb1e7 100644
--- a/generated/Chaos/Chaos.Autorest/internal/Get-AzChaosOperation.ps1
+++ b/generated/Chaos/Chaos.Autorest/internal/Get-AzChaosOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Chaos.private\Get-AzChaosOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/Chaos/Chaos.Autorest/internal/ProxyCmdletDefinitions.ps1
index d68b59e57a7c..2485dcfbb1e7 100644
--- a/generated/Chaos/Chaos.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/Chaos/Chaos.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.Chaos.private\Get-AzChaosOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Chaos/Chaos.Autorest/resources/README.md b/generated/Chaos/Chaos.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/Chaos/Chaos.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/Communication/Communication.Autorest/exports/New-AzCommunicationService.ps1 b/generated/Communication/Communication.Autorest/exports/New-AzCommunicationService.ps1
index 71e0a876c51d..fe4ebd9a334d 100644
--- a/generated/Communication/Communication.Autorest/exports/New-AzCommunicationService.ps1
+++ b/generated/Communication/Communication.Autorest/exports/New-AzCommunicationService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new CommunicationService or create an existing CommunicationService.
+Create a new CommunicationService or create an existing CommunicationService.
.Description
-create a new CommunicationService or create an existing CommunicationService.
+Create a new CommunicationService or create an existing CommunicationService.
.Example
New-AzCommunicationService -ResourceGroupName ContosoResourceProvider1 -Name ContosoAcsResource1 -DataLocation UnitedStates -Location Global
.Example
diff --git a/generated/Communication/Communication.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Communication/Communication.Autorest/exports/ProxyCmdletDefinitions.ps1
index d8cada33fb84..8704b550e485 100644
--- a/generated/Communication/Communication.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Communication/Communication.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -645,9 +645,9 @@ end {
<#
.Synopsis
-create a new CommunicationService or create an existing CommunicationService.
+Create a new CommunicationService or create an existing CommunicationService.
.Description
-create a new CommunicationService or create an existing CommunicationService.
+Create a new CommunicationService or create an existing CommunicationService.
.Example
New-AzCommunicationService -ResourceGroupName ContosoResourceProvider1 -Name ContosoAcsResource1 -DataLocation UnitedStates -Location Global
.Example
@@ -1547,9 +1547,9 @@ end {
<#
.Synopsis
-update a new CommunicationService or update an existing CommunicationService.
+Update a new CommunicationService or update an existing CommunicationService.
.Description
-update a new CommunicationService or update an existing CommunicationService.
+Update a new CommunicationService or update an existing CommunicationService.
.Example
Update-AzCommunicationService -Name ContosoAcsResource2 -ResourceGroupName ContosoResourceProvider1 -Tag @{ExampleKey1="ExampleValue1"}
.Example
diff --git a/generated/Communication/Communication.Autorest/exports/Update-AzCommunicationService.ps1 b/generated/Communication/Communication.Autorest/exports/Update-AzCommunicationService.ps1
index 73e283c81b1d..d32ea1368266 100644
--- a/generated/Communication/Communication.Autorest/exports/Update-AzCommunicationService.ps1
+++ b/generated/Communication/Communication.Autorest/exports/Update-AzCommunicationService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a new CommunicationService or update an existing CommunicationService.
+Update a new CommunicationService or update an existing CommunicationService.
.Description
-update a new CommunicationService or update an existing CommunicationService.
+Update a new CommunicationService or update an existing CommunicationService.
.Example
Update-AzCommunicationService -Name ContosoAcsResource2 -ResourceGroupName ContosoResourceProvider1 -Tag @{ExampleKey1="ExampleValue1"}
.Example
diff --git a/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResource.cs b/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResource.cs
index dcc9abf6b368..e1cb1785878f 100644
--- a/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResource.cs
+++ b/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResource.cs
@@ -79,61 +79,61 @@ public partial class CommunicationServiceResource :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for HostName
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.HostName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).HostName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).HostName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.HostName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).HostName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).HostName = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for ImmutableResourceId
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.ImmutableResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ImmutableResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ImmutableResourceId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.ImmutableResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ImmutableResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ImmutableResourceId = value ?? null; }
/// Internal Acessors for NotificationHubId
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.NotificationHubId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).NotificationHubId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).NotificationHubId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.NotificationHubId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).NotificationHubId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).NotificationHubId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceProperties Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.CommunicationServiceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Version
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServicePropertiesInternal)Property).Version = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Communication.Origin(Microsoft.Azure.PowerShell.Cmdlets.Communication.PropertyOrigin.Inherited)]
diff --git a/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResourceUpdate.cs b/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResourceUpdate.cs
index 3fbbcc6f84a3..023ae5a6dee6 100644
--- a/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResourceUpdate.cs
+++ b/generated/Communication/Communication.Autorest/generated/api/Models/CommunicationServiceResourceUpdate.cs
@@ -60,10 +60,10 @@ public partial class CommunicationServiceResourceUpdate :
Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ICommunicationServiceResourceUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.CommunicationServiceUpdateProperties()); set { {_property = value;} } }
diff --git a/generated/Communication/Communication.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Communication/Communication.Autorest/generated/api/Models/ErrorResponse.cs
index 27456512e386..efd324c47c4c 100644
--- a/generated/Communication/Communication.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Communication/Communication.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.Communication.Origin(Microsoft.Azure.PowerShell.Cmdlets.Communication.PropertyOrigin.Inlined)]
diff --git a/generated/Communication/Communication.Autorest/generated/api/Models/Operation.cs b/generated/Communication/Communication.Autorest/generated/api/Models/Operation.cs
index f75788c4ea2d..4840fc7407a3 100644
--- a/generated/Communication/Communication.Autorest/generated/api/Models/Operation.cs
+++ b/generated/Communication/Communication.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/Communication/Communication.Autorest/generated/api/Models/Resource.cs b/generated/Communication/Communication.Autorest/generated/api/Models/Resource.cs
index 3e6b7b100c3f..967009623e02 100644
--- a/generated/Communication/Communication.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Communication/Communication.Autorest/generated/api/Models/Resource.cs
@@ -34,22 +34,22 @@ public partial class Resource :
Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/Communication/Communication.Autorest/generated/api/Models/TrackedResource.cs b/generated/Communication/Communication.Autorest/generated/api/Models/TrackedResource.cs
index 3c7a29f831b2..781210efffee 100644
--- a/generated/Communication/Communication.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Communication/Communication.Autorest/generated/api/Models/TrackedResource.cs
@@ -34,34 +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.Communication.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Communication.Origin(Microsoft.Azure.PowerShell.Cmdlets.Communication.PropertyOrigin.Inherited)]
diff --git a/generated/Communication/Communication.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Communication/Communication.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index e3c028b8a940..b84d1d5011a6 100644
--- a/generated/Communication/Communication.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Communication/Communication.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/Communication/Communication.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Communication/Communication.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index b397a109f6b0..d1d7a302e0ad 100644
--- a/generated/Communication/Communication.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Communication/Communication.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/Communication/Communication.Autorest/generated/runtime/MessageAttribute.cs b/generated/Communication/Communication.Autorest/generated/runtime/MessageAttribute.cs
index b14ac2a006a0..11b0a80f3223 100644
--- a/generated/Communication/Communication.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Communication/Communication.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Communication.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.Communication" : @"";
+
//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/Communication/Communication.Autorest/generated/runtime/Properties/Resources.resx b/generated/Communication/Communication.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Communication/Communication.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Communication/Communication.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/Communication/CommunicationServiceSmtpUsername.Autorest/exports/New-AzCommunicationServiceSmtpUsername.ps1 b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/New-AzCommunicationServiceSmtpUsername.ps1
index 370d9a9d1bd5..c1185e9633d6 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/New-AzCommunicationServiceSmtpUsername.ps1
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/New-AzCommunicationServiceSmtpUsername.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create an SmtpUsernameResource.
+Create an SmtpUsernameResource.
.Description
-create an SmtpUsernameResource.
+Create an SmtpUsernameResource.
.Example
New-AzCommunicationServiceSmtpUsername -SmtpUsername ContosoSmtpUsernameResource1 -CommunicationServiceName ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -EntraApplicationId 1ebe1d1a-1111-1111-1c11-11ad111bf111 -TenantId 11f111b1-11f1-11af-11ab-1d1cd111db11 -Username ContosoUsername1
diff --git a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/ProxyCmdletDefinitions.ps1
index e1757c22d96d..61bf3872e0ae 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -247,9 +247,9 @@ end {
<#
.Synopsis
-create an SmtpUsernameResource.
+Create an SmtpUsernameResource.
.Description
-create an SmtpUsernameResource.
+Create an SmtpUsernameResource.
.Example
New-AzCommunicationServiceSmtpUsername -SmtpUsername ContosoSmtpUsernameResource1 -CommunicationServiceName ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -EntraApplicationId 1ebe1d1a-1111-1111-1c11-11ad111bf111 -TenantId 11f111b1-11f1-11af-11ab-1d1cd111db11 -Username ContosoUsername1
@@ -701,9 +701,9 @@ end {
<#
.Synopsis
-update an SmtpUsernameResource.
+Update an SmtpUsernameResource.
.Description
-update an SmtpUsernameResource.
+Update an SmtpUsernameResource.
.Example
Update-AzCommunicationServiceSmtpUsername -SmtpUsername ContosoSmtpUsernameResource1 -CommunicationServiceName ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -EntraApplicationId 1ebe1d1a-1111-1111-1c11-11ad111bf111
diff --git a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/Update-AzCommunicationServiceSmtpUsername.ps1 b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/Update-AzCommunicationServiceSmtpUsername.ps1
index ab3363e2d0d9..5a22e0ecca80 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/Update-AzCommunicationServiceSmtpUsername.ps1
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/exports/Update-AzCommunicationServiceSmtpUsername.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update an SmtpUsernameResource.
+Update an SmtpUsernameResource.
.Description
-update an SmtpUsernameResource.
+Update an SmtpUsernameResource.
.Example
Update-AzCommunicationServiceSmtpUsername -SmtpUsername ContosoSmtpUsernameResource1 -CommunicationServiceName ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -EntraApplicationId 1ebe1d1a-1111-1111-1c11-11ad111bf111
diff --git a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ErrorResponse.cs
index 401a00dd7f5e..c54b1972173a 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
diff --git a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ProxyResource.cs b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ProxyResource.cs
index aca9f62c2424..2e943dfac5bf 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/ProxyResource.cs
@@ -28,16 +28,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
@@ -47,31 +65,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/Resource.cs b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/Resource.cs
index d8c595f3b18f..d78cc5ad727f 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.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.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/SmtpUsernameResource.cs b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/SmtpUsernameResource.cs
index 8eb540f9ab4f..23124786ab11 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/SmtpUsernameResource.cs
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/api/Models/SmtpUsernameResource.cs
@@ -30,16 +30,34 @@ public partial class SmtpUsernameResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISmtpUsernameProperties Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISmtpUsernameResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.SmtpUsernameProperties()); set { {_property = value;} } }
@@ -63,31 +81,31 @@ public partial class SmtpUsernameResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
/// The tenant of the linked Entra Application.
[Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Origin(Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.PropertyOrigin.Inlined)]
diff --git a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index fe4ee8d301b2..7f972f81d75d 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Communication/CommunicationServiceSmtpUsername.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/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index f83643fe7c67..980d64337536 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/MessageAttribute.cs b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/MessageAttribute.cs
index 4ef1264502be..3f326e26b963 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.CommunicationServiceSmtpUsername.Ru
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.Communication") ? @"Az.CommunicationServiceSmtpUsername" : @"Az.Communication";
+
//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/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/Properties/Resources.resx b/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Communication/CommunicationServiceSmtpUsername.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Communication/CommunicationServiceSmtpUsername.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/Communication/EmailService.Autorest/Properties/AssemblyInfo.cs b/generated/Communication/EmailService.Autorest/Properties/AssemblyInfo.cs
deleted file mode 100644
index b5b6bd63eb50..000000000000
--- a/generated/Communication/EmailService.Autorest/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// 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.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Microsoft Azure Powershell - EmailService")]
-[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
-[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
-[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(false)]
-[assembly: Guid("4e069eb6-3f86-439a-92ad-00a7479e846e")]
-[assembly: AssemblyVersion("0.4.2")]
-[assembly: AssemblyFileVersion("0.4.2")]
diff --git a/generated/Communication/EmailService.Autorest/exports/Get-AzEmailService.ps1 b/generated/Communication/EmailService.Autorest/exports/Get-AzEmailService.ps1
index c31a0179df9e..6b1ae271bc23 100644
--- a/generated/Communication/EmailService.Autorest/exports/Get-AzEmailService.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Get-AzEmailService.ps1
@@ -135,6 +135,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -159,8 +168,6 @@ begin {
List1 = 'Az.EmailService.private\Get-AzEmailService_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -174,6 +181,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceDomain.ps1 b/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceDomain.ps1
index bbb6b199abc1..5bebccef940d 100644
--- a/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceDomain.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceDomain.ps1
@@ -156,6 +156,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -180,8 +189,6 @@ begin {
List = 'Az.EmailService.private\Get-AzEmailServiceDomain_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -195,6 +202,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceSenderUsername.ps1 b/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceSenderUsername.ps1
index afc4fc94bf78..196b8a0802b7 100644
--- a/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceSenderUsername.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Get-AzEmailServiceSenderUsername.ps1
@@ -178,6 +178,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -203,8 +212,6 @@ begin {
List = 'Az.EmailService.private\Get-AzEmailServiceSenderUsername_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -218,6 +225,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Invoke-AzEmailServiceInitiateDomainVerification.ps1 b/generated/Communication/EmailService.Autorest/exports/Invoke-AzEmailServiceInitiateDomainVerification.ps1
index 6aa7fe7ab11d..65c2b683ceb9 100644
--- a/generated/Communication/EmailService.Autorest/exports/Invoke-AzEmailServiceInitiateDomainVerification.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Invoke-AzEmailServiceInitiateDomainVerification.ps1
@@ -183,6 +183,12 @@ param(
# Run the command asynchronously
${NoWait},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Returns true when the command succeeds
+ ${PassThru},
+
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
[System.Uri]
@@ -211,6 +217,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -239,8 +254,6 @@ begin {
InitiateViaJsonString = 'Az.EmailService.private\Invoke-AzEmailServiceInitiateDomainVerification_InitiateViaJsonString';
}
if (('Initiate', 'InitiateExpanded', 'InitiateViaJsonFilePath', 'InitiateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -254,6 +267,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/New-AzEmailService.ps1 b/generated/Communication/EmailService.Autorest/exports/New-AzEmailService.ps1
index 0bea118f8bf4..8b48314a7dd4 100644
--- a/generated/Communication/EmailService.Autorest/exports/New-AzEmailService.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/New-AzEmailService.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a new EmailService or create an existing EmailService.
+Create a new EmailService or create an existing EmailService.
.Description
-create a new EmailService or create an existing EmailService.
+Create a new EmailService or create an existing EmailService.
.Example
New-AzEmailService -Name ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -DataLocation "United States"
@@ -154,6 +154,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -177,8 +186,6 @@ begin {
CreateViaJsonString = 'Az.EmailService.private\New-AzEmailService_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -195,6 +202,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceDomain.ps1 b/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceDomain.ps1
index ecbe58bbf9ad..2bb6223f2c8f 100644
--- a/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceDomain.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceDomain.ps1
@@ -44,7 +44,7 @@ EMAILSERVICEINPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
PARAMETER : A class representing a Domains resource.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[DomainManagement ]: Describes how a Domains resource is being managed.
@@ -216,6 +216,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -241,8 +250,6 @@ begin {
CreateViaJsonString = 'Az.EmailService.private\New-AzEmailServiceDomain_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -259,6 +266,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceSenderUsername.ps1 b/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceSenderUsername.ps1
index eebc1af47fff..5bd8ba0b0328 100644
--- a/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceSenderUsername.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/New-AzEmailServiceSenderUsername.ps1
@@ -210,6 +210,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -237,8 +246,6 @@ begin {
CreateViaJsonString = 'Az.EmailService.private\New-AzEmailServiceSenderUsername_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -252,6 +259,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Communication/EmailService.Autorest/exports/ProxyCmdletDefinitions.ps1
index a101dd519566..3d8d0c3dae03 100644
--- a/generated/Communication/EmailService.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -156,6 +156,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -180,8 +189,6 @@ begin {
List = 'Az.EmailService.private\Get-AzEmailServiceDomain_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -195,6 +202,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -402,6 +412,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -427,8 +446,6 @@ begin {
List = 'Az.EmailService.private\Get-AzEmailServiceSenderUsername_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -442,6 +459,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -606,6 +626,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -630,8 +659,6 @@ begin {
List1 = 'Az.EmailService.private\Get-AzEmailService_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -645,6 +672,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -857,6 +887,12 @@ param(
# Run the command asynchronously
${NoWait},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Returns true when the command succeeds
+ ${PassThru},
+
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
[System.Uri]
@@ -885,6 +921,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -913,8 +958,6 @@ begin {
InitiateViaJsonString = 'Az.EmailService.private\Invoke-AzEmailServiceInitiateDomainVerification_InitiateViaJsonString';
}
if (('Initiate', 'InitiateExpanded', 'InitiateViaJsonFilePath', 'InitiateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -928,6 +971,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1001,7 +1047,7 @@ EMAILSERVICEINPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
PARAMETER : A class representing a Domains resource.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[DomainManagement ]: Describes how a Domains resource is being managed.
@@ -1173,6 +1219,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1198,8 +1253,6 @@ begin {
CreateViaJsonString = 'Az.EmailService.private\New-AzEmailServiceDomain_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1216,6 +1269,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1455,6 +1511,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1482,8 +1547,6 @@ begin {
CreateViaJsonString = 'Az.EmailService.private\New-AzEmailServiceSenderUsername_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1497,6 +1560,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1542,9 +1608,9 @@ end {
<#
.Synopsis
-create a new EmailService or create an existing EmailService.
+Create a new EmailService or create an existing EmailService.
.Description
-create a new EmailService or create an existing EmailService.
+Create a new EmailService or create an existing EmailService.
.Example
New-AzEmailService -Name ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -DataLocation "United States"
@@ -1680,6 +1746,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1703,8 +1778,6 @@ begin {
CreateViaJsonString = 'Az.EmailService.private\New-AzEmailService_CreateViaJsonString';
}
if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1721,6 +1794,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1921,6 +1997,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1944,8 +2029,6 @@ begin {
DeleteViaIdentityEmailService = 'Az.EmailService.private\Remove-AzEmailServiceDomain_DeleteViaIdentityEmailService';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1959,6 +2042,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2168,6 +2254,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2192,8 +2287,6 @@ begin {
DeleteViaIdentityEmailService = 'Az.EmailService.private\Remove-AzEmailServiceSenderUsername_DeleteViaIdentityEmailService';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2207,6 +2300,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2384,6 +2480,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2406,8 +2511,6 @@ begin {
DeleteViaIdentity = 'Az.EmailService.private\Remove-AzEmailService_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2421,6 +2524,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2633,6 +2739,12 @@ param(
# Run the command asynchronously
${NoWait},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Returns true when the command succeeds
+ ${PassThru},
+
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
[System.Uri]
@@ -2661,6 +2773,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2689,8 +2810,6 @@ begin {
CancelViaJsonString = 'Az.EmailService.private\Stop-AzEmailServiceDomainVerification_CancelViaJsonString';
}
if (('Cancel', 'CancelExpanded', 'CancelViaJsonFilePath', 'CancelViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2704,6 +2823,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2951,6 +3073,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2977,8 +3108,6 @@ begin {
UpdateViaJsonString = 'Az.EmailService.private\Update-AzEmailServiceDomain_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2992,6 +3121,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3231,6 +3363,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3257,8 +3398,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.EmailService.private\Update-AzEmailServiceSenderUsername_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3272,6 +3411,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3469,6 +3611,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3493,8 +3644,6 @@ begin {
UpdateViaJsonString = 'Az.EmailService.private\Update-AzEmailService_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3508,6 +3657,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailService.ps1 b/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailService.ps1
index 92e601cd8742..e9d353c0a2fe 100644
--- a/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailService.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailService.ps1
@@ -148,6 +148,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -170,8 +179,6 @@ begin {
DeleteViaIdentity = 'Az.EmailService.private\Remove-AzEmailService_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -185,6 +192,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceDomain.ps1 b/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceDomain.ps1
index 54880fab603b..0efe316c2c66 100644
--- a/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceDomain.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceDomain.ps1
@@ -171,6 +171,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -194,8 +203,6 @@ begin {
DeleteViaIdentityEmailService = 'Az.EmailService.private\Remove-AzEmailServiceDomain_DeleteViaIdentityEmailService';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -209,6 +216,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceSenderUsername.ps1 b/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceSenderUsername.ps1
index e95f07086d86..79823ee9c69c 100644
--- a/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceSenderUsername.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Remove-AzEmailServiceSenderUsername.ps1
@@ -180,6 +180,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -204,8 +213,6 @@ begin {
DeleteViaIdentityEmailService = 'Az.EmailService.private\Remove-AzEmailServiceSenderUsername_DeleteViaIdentityEmailService';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -219,6 +226,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Stop-AzEmailServiceDomainVerification.ps1 b/generated/Communication/EmailService.Autorest/exports/Stop-AzEmailServiceDomainVerification.ps1
index 5eea34f806bc..f9402a62a4b4 100644
--- a/generated/Communication/EmailService.Autorest/exports/Stop-AzEmailServiceDomainVerification.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Stop-AzEmailServiceDomainVerification.ps1
@@ -183,6 +183,12 @@ param(
# Run the command asynchronously
${NoWait},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Returns true when the command succeeds
+ ${PassThru},
+
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category('Runtime')]
[System.Uri]
@@ -211,6 +217,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -239,8 +254,6 @@ begin {
CancelViaJsonString = 'Az.EmailService.private\Stop-AzEmailServiceDomainVerification_CancelViaJsonString';
}
if (('Cancel', 'CancelExpanded', 'CancelViaJsonFilePath', 'CancelViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -254,6 +267,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Update-AzEmailService.ps1 b/generated/Communication/EmailService.Autorest/exports/Update-AzEmailService.ps1
index e676d1aedf6e..4070857e4186 100644
--- a/generated/Communication/EmailService.Autorest/exports/Update-AzEmailService.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Update-AzEmailService.ps1
@@ -168,6 +168,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -192,8 +201,6 @@ begin {
UpdateViaJsonString = 'Az.EmailService.private\Update-AzEmailService_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -207,6 +214,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceDomain.ps1 b/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceDomain.ps1
index 1e0e210b047f..73379d4b64db 100644
--- a/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceDomain.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceDomain.ps1
@@ -218,6 +218,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -244,8 +253,6 @@ begin {
UpdateViaJsonString = 'Az.EmailService.private\Update-AzEmailServiceDomain_UpdateViaJsonString';
}
if (('UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -259,6 +266,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceSenderUsername.ps1 b/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceSenderUsername.ps1
index f960f264495e..ef8251f6d8ac 100644
--- a/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceSenderUsername.ps1
+++ b/generated/Communication/EmailService.Autorest/exports/Update-AzEmailServiceSenderUsername.ps1
@@ -210,6 +210,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -236,8 +245,6 @@ begin {
UpdateViaIdentityExpanded = 'Az.EmailService.private\Update-AzEmailServiceSenderUsername_UpdateViaIdentityExpanded';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -251,6 +258,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailService.Autorest/generated/api/EmailService.cs b/generated/Communication/EmailService.Autorest/generated/api/EmailService.cs
index acf4af4a7b49..877e28ac20c3 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/EmailService.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/EmailService.cs
@@ -20,6 +20,7 @@ public partial class EmailService
/// The name of the EmailService resource.
/// The name of the Domains resource.
/// Type of verification to be canceled.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -28,7 +29,7 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DomainsCancelVerification(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task DomainsCancelVerification(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2023-06-01-preview";
// Constant Parameters
@@ -62,13 +63,14 @@ public partial class EmailService
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DomainsCancelVerification_Call (request, onDefault,eventListener,sender);
+ await this.DomainsCancelVerification_Call (request, onOk,onDefault,eventListener,sender);
}
}
/// Cancel verification of DNS record.
///
/// Type of verification to be canceled.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -77,7 +79,7 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DomainsCancelVerificationViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task DomainsCancelVerificationViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2023-06-01-preview";
// Constant Parameters
@@ -124,7 +126,7 @@ public partial class EmailService
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DomainsCancelVerification_Call (request, onDefault,eventListener,sender);
+ await this.DomainsCancelVerification_Call (request, onOk,onDefault,eventListener,sender);
}
}
@@ -134,6 +136,7 @@ public partial class EmailService
/// The name of the EmailService resource.
/// The name of the Domains resource.
/// Json string supplied to the DomainsCancelVerification operation
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -141,7 +144,7 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DomainsCancelVerificationViaJsonString(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task DomainsCancelVerificationViaJsonString(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, global::System.String jsonString, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-06-01-preview";
// Constant Parameters
@@ -175,12 +178,13 @@ public partial class EmailService
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DomainsCancelVerification_Call (request, onDefault,eventListener,sender);
+ await this.DomainsCancelVerification_Call (request, onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -188,20 +192,20 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task DomainsCancelVerification_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task DomainsCancelVerification_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -297,6 +301,12 @@ public partial class EmailService
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
default:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -700,13 +710,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -854,13 +864,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -1135,13 +1145,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -1645,6 +1655,7 @@ public partial class EmailService
/// The name of the EmailService resource.
/// The name of the Domains resource.
/// Type of verification to be initiated.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -1653,7 +1664,7 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DomainsInitiateVerification(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task DomainsInitiateVerification(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2023-06-01-preview";
// Constant Parameters
@@ -1687,13 +1698,14 @@ public partial class EmailService
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DomainsInitiateVerification_Call (request, onDefault,eventListener,sender);
+ await this.DomainsInitiateVerification_Call (request, onOk,onDefault,eventListener,sender);
}
}
/// Initiate verification of DNS record.
///
/// Type of verification to be initiated.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -1702,7 +1714,7 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DomainsInitiateVerificationViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
+ public async global::System.Threading.Tasks.Task DomainsInitiateVerificationViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.SerializationMode.IncludeUpdate)
{
var apiVersion = @"2023-06-01-preview";
// Constant Parameters
@@ -1749,7 +1761,7 @@ public partial class EmailService
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DomainsInitiateVerification_Call (request, onDefault,eventListener,sender);
+ await this.DomainsInitiateVerification_Call (request, onOk,onDefault,eventListener,sender);
}
}
@@ -1759,6 +1771,7 @@ public partial class EmailService
/// The name of the EmailService resource.
/// The name of the Domains resource.
/// Json string supplied to the DomainsInitiateVerification operation
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -1766,7 +1779,7 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task DomainsInitiateVerificationViaJsonString(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task DomainsInitiateVerificationViaJsonString(string subscriptionId, string resourceGroupName, string emailServiceName, string domainName, global::System.String jsonString, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
{
var apiVersion = @"2023-06-01-preview";
// Constant Parameters
@@ -1800,12 +1813,13 @@ public partial class EmailService
request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.DomainsInitiateVerification_Call (request, onDefault,eventListener,sender);
+ await this.DomainsInitiateVerification_Call (request, onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
+ /// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -1813,20 +1827,20 @@ public partial class EmailService
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task DomainsInitiateVerification_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task DomainsInitiateVerification_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -1922,6 +1936,12 @@ public partial class EmailService
switch ( _response.StatusCode )
{
+ case global::System.Net.HttpStatusCode.OK:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onOk(_response);
+ break;
+ }
default:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -2652,13 +2672,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -2806,13 +2826,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -3288,13 +3308,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -3442,13 +3462,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -3713,13 +3733,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -5430,13 +5450,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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");
@@ -5584,13 +5604,13 @@ public partial class EmailService
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.EmailService.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.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/Communication/EmailService.Autorest/generated/api/Models/DomainProperties.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainProperties.cs
index 8397a3e5e6f5..7eb98a0c372f 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/DomainProperties.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainProperties.cs
@@ -77,28 +77,28 @@ public partial class DomainProperties :
string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DataLocation { get => this._dataLocation; set { {_dataLocation = value;} } }
/// Internal Acessors for Dkim2ErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.Dkim2ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2ErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.Dkim2ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2ErrorCode = value ?? null; }
/// Internal Acessors for Dkim2Status
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.Dkim2Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.Dkim2Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2Status = value ?? null; }
/// Internal Acessors for DkimErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DkimErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DkimErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimErrorCode = value ?? null; }
/// Internal Acessors for DkimStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DkimStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DkimStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DkimStatus = value ?? null; }
/// Internal Acessors for DmarcErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DmarcErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DmarcErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcErrorCode = value ?? null; }
/// Internal Acessors for DmarcStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DmarcStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DmarcStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DmarcStatus = value ?? null; }
/// Internal Acessors for DomainErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DomainErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DomainErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainErrorCode = value ?? null; }
/// Internal Acessors for DomainStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DomainStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.DomainStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).DomainStatus = value ?? null; }
/// Internal Acessors for FromSenderDomain
string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.FromSenderDomain { get => this._fromSenderDomain; set { {_fromSenderDomain = value;} } }
@@ -110,10 +110,10 @@ public partial class DomainProperties :
string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
/// Internal Acessors for SpfErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.SpfErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.SpfErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfErrorCode = value ?? null; }
/// Internal Acessors for SpfStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.SpfStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.SpfStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).SpfStatus = value ?? null; }
/// Internal Acessors for VerificationRecord
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecords Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationRecord { get => (this._verificationRecord = this._verificationRecord ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.DomainPropertiesVerificationRecords()); set { {_verificationRecord = value;} } }
@@ -122,19 +122,19 @@ public partial class DomainProperties :
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStates Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationState { get => (this._verificationState = this._verificationState ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.DomainPropertiesVerificationStates()); set { {_verificationState = value;} } }
/// Internal Acessors for VerificationStateDkim
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDkim { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDkim { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateDkim2
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDkim2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDkim2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dkim2 = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateDmarc
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDmarc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dmarc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dmarc = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDmarc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dmarc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Dmarc = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateDomain
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Domain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Domain = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Domain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Domain = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateSpf
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateSpf { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Spf; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Spf = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal.VerificationStateSpf { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Spf; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal)VerificationState).Spf = value ?? null /* model class */; }
/// Backing field for property.
private string _provisioningState;
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationRecords.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationRecords.cs
index fdd7a327be30..2e07c6df5902 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationRecords.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationRecords.cs
@@ -120,73 +120,73 @@ public partial class DomainPropertiesVerificationRecords :
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2 { get => (this._dkim2 = this._dkim2 ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.DnsRecord()); set { {_dkim2 = value;} } }
/// Internal Acessors for Dkim2Name
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Name = value ?? null; }
/// Internal Acessors for Dkim2Ttl
- int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Ttl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Ttl = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Ttl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Ttl = value ?? default(int); }
/// Internal Acessors for Dkim2Type
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Type = value ?? null; }
/// Internal Acessors for Dkim2Value
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Value = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dkim2Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim2).Value = value ?? null; }
/// Internal Acessors for DkimName
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Name = value ?? null; }
/// Internal Acessors for DkimTtl
- int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Ttl = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Ttl = value ?? default(int); }
/// Internal Acessors for DkimType
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Type = value ?? null; }
/// Internal Acessors for DkimValue
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Value = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DkimValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dkim).Value = value ?? null; }
/// Internal Acessors for Dmarc
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Dmarc { get => (this._dmarc = this._dmarc ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.DnsRecord()); set { {_dmarc = value;} } }
/// Internal Acessors for DmarcName
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Name = value ?? null; }
/// Internal Acessors for DmarcTtl
- int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Ttl = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Ttl = value ?? default(int); }
/// Internal Acessors for DmarcType
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Type = value ?? null; }
/// Internal Acessors for DmarcValue
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Value = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DmarcValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Dmarc).Value = value ?? null; }
/// Internal Acessors for Domain
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Domain { get => (this._domain = this._domain ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.DnsRecord()); set { {_domain = value;} } }
/// Internal Acessors for DomainName
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Name = value ?? null; }
/// Internal Acessors for DomainTtl
- int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Ttl = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Ttl = value ?? default(int); }
/// Internal Acessors for DomainType
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Type = value ?? null; }
/// Internal Acessors for DomainValue
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Value = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.DomainValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Domain).Value = value ?? null; }
/// Internal Acessors for Spf
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.Spf { get => (this._spf = this._spf ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.DnsRecord()); set { {_spf = value;} } }
/// Internal Acessors for SpfName
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Name = value ?? null; }
/// Internal Acessors for SpfTtl
- int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Ttl = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfTtl { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Ttl; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Ttl = value ?? default(int); }
/// Internal Acessors for SpfType
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Type = value ?? null; }
/// Internal Acessors for SpfValue
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Value = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecordsInternal.SpfValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecordInternal)Spf).Value = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDnsRecord _spf;
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationStates.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationStates.cs
index 9c9d863f273a..4cbea7f7f436 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationStates.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainPropertiesVerificationStates.cs
@@ -80,43 +80,43 @@ public partial class DomainPropertiesVerificationStates :
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Dkim2 { get => (this._dkim2 = this._dkim2 ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.VerificationStatusRecord()); set { {_dkim2 = value;} } }
/// Internal Acessors for Dkim2ErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Dkim2ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).ErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Dkim2ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).ErrorCode = value ?? null; }
/// Internal Acessors for Dkim2Status
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Dkim2Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Dkim2Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim2).Status = value ?? null; }
/// Internal Acessors for DkimErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DkimErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).ErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DkimErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).ErrorCode = value ?? null; }
/// Internal Acessors for DkimStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DkimStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DkimStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dkim).Status = value ?? null; }
/// Internal Acessors for Dmarc
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Dmarc { get => (this._dmarc = this._dmarc ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.VerificationStatusRecord()); set { {_dmarc = value;} } }
/// Internal Acessors for DmarcErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DmarcErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).ErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DmarcErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).ErrorCode = value ?? null; }
/// Internal Acessors for DmarcStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DmarcStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DmarcStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Dmarc).Status = value ?? null; }
/// Internal Acessors for Domain
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Domain { get => (this._domain = this._domain ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.VerificationStatusRecord()); set { {_domain = value;} } }
/// Internal Acessors for DomainErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DomainErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).ErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DomainErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).ErrorCode = value ?? null; }
/// Internal Acessors for DomainStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DomainStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.DomainStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Domain).Status = value ?? null; }
/// Internal Acessors for Spf
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.Spf { get => (this._spf = this._spf ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.VerificationStatusRecord()); set { {_spf = value;} } }
/// Internal Acessors for SpfErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.SpfErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).ErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.SpfErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).ErrorCode = value ?? null; }
/// Internal Acessors for SpfStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.SpfStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStatesInternal.SpfStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecordInternal)Spf).Status = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord _spf;
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/DomainResource.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainResource.cs
index 75793d806e2f..79686d07426f 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/DomainResource.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/DomainResource.cs
@@ -71,89 +71,107 @@ public partial class DomainResource :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// P1 sender domain that is present on the email envelope [RFC 5321].
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
public string MailFromSenderDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).MailFromSenderDomain; }
/// Internal Acessors for DataLocation
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DataLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DataLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DataLocation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DataLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DataLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DataLocation = value ?? null; }
/// Internal Acessors for Dkim2ErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.Dkim2ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2ErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.Dkim2ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2ErrorCode = value ?? null; }
/// Internal Acessors for Dkim2Status
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.Dkim2Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.Dkim2Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).Dkim2Status = value ?? null; }
/// Internal Acessors for DkimErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DkimErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DkimErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimErrorCode = value ?? null; }
/// Internal Acessors for DkimStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DkimStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DkimStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DkimStatus = value ?? null; }
/// Internal Acessors for DmarcErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DmarcErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DmarcErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcErrorCode = value ?? null; }
/// Internal Acessors for DmarcStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DmarcStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DmarcStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DmarcStatus = value ?? null; }
/// Internal Acessors for DomainErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DomainErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DomainErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainErrorCode = value ?? null; }
/// Internal Acessors for DomainStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DomainStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.DomainStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).DomainStatus = value ?? null; }
/// Internal Acessors for FromSenderDomain
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.FromSenderDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).FromSenderDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).FromSenderDomain = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.FromSenderDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).FromSenderDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).FromSenderDomain = value ?? null; }
/// Internal Acessors for MailFromSenderDomain
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.MailFromSenderDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).MailFromSenderDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).MailFromSenderDomain = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.MailFromSenderDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).MailFromSenderDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).MailFromSenderDomain = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainProperties Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.DomainProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SpfErrorCode
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.SpfErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfErrorCode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.SpfErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfErrorCode = value ?? null; }
/// Internal Acessors for SpfStatus
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.SpfStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.SpfStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).SpfStatus = value ?? null; }
/// Internal Acessors for VerificationRecord
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecords Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationRecord = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationRecords Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationRecord = value ?? null /* model class */; }
/// Internal Acessors for VerificationState
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStates Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationState = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesVerificationStates Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationState = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateDkim
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDkim { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDkim { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateDkim2
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDkim2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim2; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim2 = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDkim2 { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim2; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDkim2 = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateDmarc
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDmarc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDmarc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDmarc = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDmarc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDmarc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDmarc = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateDomain
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDomain = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateDomain { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDomain; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateDomain = value ?? null /* model class */; }
/// Internal Acessors for VerificationStateSpf
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateSpf { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateSpf; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateSpf = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationStatusRecord Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainResourceInternal.VerificationStateSpf { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateSpf; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IDomainPropertiesInternal)Property).VerificationStateSpf = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
@@ -186,31 +204,31 @@ public partial class DomainResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceProperties.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceProperties.cs
index 23f75de0c7e5..63ad32ea265e 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceProperties.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceProperties.cs
@@ -42,7 +42,7 @@ public partial interface IEmailServiceProperties :
{
/// The location where the email service stores its data at rest.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceResource.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceResource.cs
index 3aa14f0eb73a..d3fe39774785 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceResource.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/EmailServiceResource.cs
@@ -31,25 +31,43 @@ public partial class EmailServiceResource :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServiceProperties Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServiceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.EmailServiceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServiceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServicePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServiceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServicePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IEmailServicePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
@@ -74,31 +92,31 @@ public partial class EmailServiceResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/ErrorResponse.cs
index 095c81c1b537..2454eb7b4d06 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/ProxyResource.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/ProxyResource.cs
index bbbdb5a54895..067d4b8b5c21 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/ProxyResource.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/ProxyResource.cs
@@ -27,16 +27,34 @@ public partial class ProxyResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
@@ -46,31 +64,31 @@ public partial class ProxyResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/Resource.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/Resource.cs
index e7872fc78433..b35376a05e59 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/Resource.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.EmailService.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.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/SenderUsernameResource.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/SenderUsernameResource.cs
index f2d2682c143e..46410b33c09b 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/SenderUsernameResource.cs
+++ b/generated/Communication/EmailService.Autorest/generated/api/Models/SenderUsernameResource.cs
@@ -33,25 +33,43 @@ public partial class SenderUsernameResource :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Id; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).Type = value ?? null; }
/// Internal Acessors for DataLocation
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResourceInternal.DataLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).DataLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).DataLocation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResourceInternal.DataLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).DataLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).DataLocation = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameProperties Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.SenderUsernameProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernameResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISenderUsernamePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
@@ -78,31 +96,31 @@ public partial class SenderUsernameResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/Communication/EmailService.Autorest/generated/api/Models/TrackedResource.cs b/generated/Communication/EmailService.Autorest/generated/api/Models/TrackedResource.cs
index 8e7ca29f3834..62a67a6215ab 100644
--- a/generated/Communication/EmailService.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/Communication/EmailService.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.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailService.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_Initiate.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_Initiate.cs
index c8fae295fc4a..e23f1bc98402 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_Initiate.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_Initiate.cs
@@ -151,6 +151,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_Initiate : g
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Body)]
public Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter Parameter { get => this._parameter; set => this._parameter = value; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -217,6 +224,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_Initiate : g
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -481,7 +498,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsInitiateVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, Parameter, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -561,5 +578,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateExpanded.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateExpanded.cs
index 3563b0f19f0e..d0b4a1e49e1d 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateExpanded.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateExpanded.cs
@@ -140,6 +140,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateExpa
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -218,6 +225,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateExpa
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -485,7 +502,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsInitiateVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _parametersBody, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -565,5 +582,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentity.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentity.cs
index a43ece6e24d6..a869dfe4db33 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentity.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentity.cs
@@ -131,6 +131,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Body)]
public Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter Parameter { get => this._parameter; set => this._parameter = value; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -164,6 +171,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -429,7 +446,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.DomainsInitiateVerificationViaIdentity(InputObject.Id, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerificationViaIdentity(InputObject.Id, Parameter, onOk, onDefault, this, Pipeline);
}
else
{
@@ -450,7 +467,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DomainName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.DomainsInitiateVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, Parameter, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -531,5 +548,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailService.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailService.cs
index c54edf650d27..f2b7705ee41e 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailService.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailService.cs
@@ -145,6 +145,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Body)]
public Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter Parameter { get => this._parameter; set => this._parameter = value; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -178,6 +185,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -445,7 +462,7 @@ protected override void ProcessRecord()
if (EmailServiceInputObject?.Id != null)
{
this.EmailServiceInputObject.Id += $"/domains/{(global::System.Uri.EscapeDataString(this.DomainName.ToString()))}";
- await this.Client.DomainsInitiateVerificationViaIdentity(EmailServiceInputObject.Id, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerificationViaIdentity(EmailServiceInputObject.Id, Parameter, onOk, onDefault, this, Pipeline);
}
else
{
@@ -462,7 +479,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("EmailServiceInputObject has null value for EmailServiceInputObject.EmailServiceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, EmailServiceInputObject) );
}
- await this.Client.DomainsInitiateVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, Parameter, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -543,5 +560,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailServiceExpanded.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailServiceExpanded.cs
index 0e03da29164d..e7fa96398244 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailServiceExpanded.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityEmailServiceExpanded.cs
@@ -134,6 +134,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -179,6 +186,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -446,7 +463,7 @@ protected override void ProcessRecord()
if (EmailServiceInputObject?.Id != null)
{
this.EmailServiceInputObject.Id += $"/domains/{(global::System.Uri.EscapeDataString(this.DomainName.ToString()))}";
- await this.Client.DomainsInitiateVerificationViaIdentity(EmailServiceInputObject.Id, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerificationViaIdentity(EmailServiceInputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline);
}
else
{
@@ -463,7 +480,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("EmailServiceInputObject has null value for EmailServiceInputObject.EmailServiceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, EmailServiceInputObject) );
}
- await this.Client.DomainsInitiateVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, _parametersBody, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -544,5 +561,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityExpanded.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityExpanded.cs
index bc6ec3f586d3..fd9010702d1d 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityExpanded.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaIdentityExpanded.cs
@@ -120,6 +120,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -165,6 +172,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaI
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -430,7 +447,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.DomainsInitiateVerificationViaIdentity(InputObject.Id, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerificationViaIdentity(InputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline);
}
else
{
@@ -451,7 +468,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DomainName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.DomainsInitiateVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, _parametersBody, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -532,5 +549,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonFilePath.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonFilePath.cs
index 1111a0790691..835be3c81c3b 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonFilePath.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonFilePath.cs
@@ -153,6 +153,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJ
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -219,6 +226,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJ
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -486,7 +503,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsInitiateVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -566,5 +583,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonString.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonString.cs
index 5abcdca32d11..85a4a04f3749 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonString.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJsonString.cs
@@ -151,6 +151,13 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJ
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -217,6 +224,16 @@ public partial class InvokeAzEmailServiceInitiateDomainVerification_InitiateViaJ
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -484,7 +501,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsInitiateVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onDefault, this, Pipeline);
+ await this.Client.DomainsInitiateVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -564,5 +581,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_Cancel.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_Cancel.cs
index 999cc1eaa129..8f2fe26f77e3 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_Cancel.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_Cancel.cs
@@ -151,6 +151,13 @@ public partial class StopAzEmailServiceDomainVerification_Cancel : global::Syste
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Body)]
public Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter Parameter { get => this._parameter; set => this._parameter = value; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -217,6 +224,16 @@ public partial class StopAzEmailServiceDomainVerification_Cancel : global::Syste
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -473,7 +490,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsCancelVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, Parameter, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -561,5 +578,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelExpanded.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelExpanded.cs
index aacda3776b7d..6f87b1314314 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelExpanded.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelExpanded.cs
@@ -140,6 +140,13 @@ public partial class StopAzEmailServiceDomainVerification_CancelExpanded : globa
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -218,6 +225,16 @@ public partial class StopAzEmailServiceDomainVerification_CancelExpanded : globa
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -474,7 +491,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsCancelVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerification(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _parametersBody, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -562,5 +579,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentity.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentity.cs
index 6be8d4dddba3..1276063da015 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentity.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentity.cs
@@ -131,6 +131,13 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentity : gl
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Body)]
public Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter Parameter { get => this._parameter; set => this._parameter = value; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -164,6 +171,16 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentity : gl
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -418,7 +435,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.DomainsCancelVerificationViaIdentity(InputObject.Id, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerificationViaIdentity(InputObject.Id, Parameter, onOk, onDefault, this, Pipeline);
}
else
{
@@ -439,7 +456,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DomainName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.DomainsCancelVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, Parameter, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -528,5 +545,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailService.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailService.cs
index 2a9cb94ddd4d..b79948e097b9 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailService.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailService.cs
@@ -145,6 +145,13 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentityEmail
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Body)]
public Microsoft.Azure.PowerShell.Cmdlets.EmailService.Models.IVerificationParameter Parameter { get => this._parameter; set => this._parameter = value; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -178,6 +185,16 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentityEmail
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -436,7 +453,7 @@ protected override void ProcessRecord()
if (EmailServiceInputObject?.Id != null)
{
this.EmailServiceInputObject.Id += $"/domains/{(global::System.Uri.EscapeDataString(this.DomainName.ToString()))}";
- await this.Client.DomainsCancelVerificationViaIdentity(EmailServiceInputObject.Id, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerificationViaIdentity(EmailServiceInputObject.Id, Parameter, onOk, onDefault, this, Pipeline);
}
else
{
@@ -453,7 +470,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("EmailServiceInputObject has null value for EmailServiceInputObject.EmailServiceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, EmailServiceInputObject) );
}
- await this.Client.DomainsCancelVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, Parameter, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, Parameter, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -543,5 +560,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailServiceExpanded.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailServiceExpanded.cs
index 018db42933ec..4d1fe248b206 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailServiceExpanded.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityEmailServiceExpanded.cs
@@ -134,6 +134,13 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentityEmail
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -179,6 +186,16 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentityEmail
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -437,7 +454,7 @@ protected override void ProcessRecord()
if (EmailServiceInputObject?.Id != null)
{
this.EmailServiceInputObject.Id += $"/domains/{(global::System.Uri.EscapeDataString(this.DomainName.ToString()))}";
- await this.Client.DomainsCancelVerificationViaIdentity(EmailServiceInputObject.Id, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerificationViaIdentity(EmailServiceInputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline);
}
else
{
@@ -454,7 +471,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("EmailServiceInputObject has null value for EmailServiceInputObject.EmailServiceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, EmailServiceInputObject) );
}
- await this.Client.DomainsCancelVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerification(EmailServiceInputObject.SubscriptionId ?? null, EmailServiceInputObject.ResourceGroupName ?? null, EmailServiceInputObject.EmailServiceName ?? null, DomainName, _parametersBody, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -544,5 +561,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityExpanded.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityExpanded.cs
index 298743219737..06dae46f3113 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityExpanded.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaIdentityExpanded.cs
@@ -120,6 +120,13 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentityExpan
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -165,6 +172,16 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaIdentityExpan
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -421,7 +438,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.DomainsCancelVerificationViaIdentity(InputObject.Id, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerificationViaIdentity(InputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline);
}
else
{
@@ -442,7 +459,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DomainName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.DomainsCancelVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, _parametersBody, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerification(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.EmailServiceName ?? null, InputObject.DomainName ?? null, _parametersBody, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -532,5 +549,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonFilePath.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonFilePath.cs
index a86249e99c7e..ca9eacfa3ab4 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonFilePath.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonFilePath.cs
@@ -153,6 +153,13 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaJsonFilePath
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -219,6 +226,16 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaJsonFilePath
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -477,7 +494,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsCancelVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -565,5 +582,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonString.cs b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonString.cs
index 76bc461026d9..0454f3e8a910 100644
--- a/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonString.cs
+++ b/generated/Communication/EmailService.Autorest/generated/cmdlets/StopAzEmailServiceDomainVerification_CancelViaJsonString.cs
@@ -151,6 +151,13 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaJsonString :
[global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+ ///
+ /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EmailService.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
+
///
/// The instance of the that the remote call will use.
///
@@ -217,6 +224,16 @@ public partial class StopAzEmailServiceDomainVerification_CancelViaJsonString :
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
///
@@ -475,7 +492,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.DomainsCancelVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onDefault, this, Pipeline);
+ await this.Client.DomainsCancelVerificationViaJsonString(SubscriptionId, ResourceGroupName, EmailServiceName, DomainName, _jsonString, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.EmailService.Runtime.UndeclaredResponseException urexception)
@@ -563,5 +580,29 @@ protected override void StopProcessing()
}
}
}
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 0648f987d6fc..6f709f7f6d84 100644
--- a/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Communication/EmailService.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/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index a18209929ebc..abdf1f3174f4 100644
--- a/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.EmailService.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.EmailService.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 +316,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.EmailService.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/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 93b50ca4ac3a..80eb82b87395 100644
--- a/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Communication/EmailService.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/Communication/EmailService.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index d0ae518fb103..fd2c1df5acac 100644
--- a/generated/Communication/EmailService.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/Communication/EmailService.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/Communication/EmailService.Autorest/generated/runtime/MessageAttribute.cs b/generated/Communication/EmailService.Autorest/generated/runtime/MessageAttribute.cs
index 24afc5f86a2f..b8ec802072f6 100644
--- a/generated/Communication/EmailService.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Communication/EmailService.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EmailService.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.Communication") ? @"Az.EmailService" : @"Az.Communication";
+
//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/Communication/EmailService.Autorest/generated/runtime/Properties/Resources.resx b/generated/Communication/EmailService.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Communication/EmailService.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Communication/EmailService.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/Communication/EmailService.Autorest/resources/README.md b/generated/Communication/EmailService.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/Communication/EmailService.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/Communication/EmailServicedata.Autorest/exports/Get-AzEmailServicedataEmailSendResult.ps1 b/generated/Communication/EmailServicedata.Autorest/exports/Get-AzEmailServicedataEmailSendResult.ps1
index c1997f9edb6b..7dcfcebcfd15 100644
--- a/generated/Communication/EmailServicedata.Autorest/exports/Get-AzEmailServicedataEmailSendResult.ps1
+++ b/generated/Communication/EmailServicedata.Autorest/exports/Get-AzEmailServicedataEmailSendResult.ps1
@@ -116,6 +116,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -144,6 +153,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailServicedata.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Communication/EmailServicedata.Autorest/exports/ProxyCmdletDefinitions.ps1
index 22b05727db01..13381c6498c0 100644
--- a/generated/Communication/EmailServicedata.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Communication/EmailServicedata.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -116,6 +116,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -144,6 +153,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -518,6 +530,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -548,6 +569,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailServicedata.Autorest/exports/Send-AzEmailServicedataEmail.ps1 b/generated/Communication/EmailServicedata.Autorest/exports/Send-AzEmailServicedataEmail.ps1
index 050d868174d0..ab176cfebb2e 100644
--- a/generated/Communication/EmailServicedata.Autorest/exports/Send-AzEmailServicedataEmail.ps1
+++ b/generated/Communication/EmailServicedata.Autorest/exports/Send-AzEmailServicedataEmail.ps1
@@ -345,6 +345,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -375,6 +384,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/Communication/EmailServicedata.Autorest/generated/api/EmailServicedata.cs b/generated/Communication/EmailServicedata.Autorest/generated/api/EmailServicedata.cs
index c75f91c09e52..5a7035973f34 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/api/EmailServicedata.cs
+++ b/generated/Communication/EmailServicedata.Autorest/generated/api/EmailServicedata.cs
@@ -663,13 +663,13 @@ public partial class EmailServicedata
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.EmailServicedata.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.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: operation-location
var _finalUri = _response.GetFirstHeader(@"Operation-Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -802,13 +802,13 @@ public partial class EmailServicedata
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.EmailServicedata.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.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: operation-location
var _finalUri = _response.GetFirstHeader(@"Operation-Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
diff --git a/generated/Communication/EmailServicedata.Autorest/generated/api/Models/EmailSendResult.cs b/generated/Communication/EmailServicedata.Autorest/generated/api/Models/EmailSendResult.cs
index 6534c8cadd37..9a23a529403f 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/api/Models/EmailSendResult.cs
+++ b/generated/Communication/EmailServicedata.Autorest/generated/api/Models/EmailSendResult.cs
@@ -45,22 +45,22 @@ public partial class EmailSendResult :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResultInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// Gets the resource group name
[Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.PropertyOrigin.Owned)]
diff --git a/generated/Communication/EmailServicedata.Autorest/generated/api/Models/ErrorResponse.cs b/generated/Communication/EmailServicedata.Autorest/generated/api/Models/ErrorResponse.cs
index 905c2c9e9e43..7a80e83d39c4 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/Communication/EmailServicedata.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Origin(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.PropertyOrigin.Inlined)]
diff --git a/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 7f5c40588a06..8ea60e1848fb 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Communication/EmailServicedata.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/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 534bb750e872..ef0a392009cd 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.EmailServicedata.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 +316,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.EmailServicedata.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/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 8524517141e0..f5d1d3b29cf6 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Communication/EmailServicedata.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/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index c57a5c441484..ef99e4ee1891 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/Communication/EmailServicedata.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/Communication/EmailServicedata.Autorest/generated/runtime/MessageAttribute.cs b/generated/Communication/EmailServicedata.Autorest/generated/runtime/MessageAttribute.cs
index e520c120dd26..7c7f2840f9eb 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Communication/EmailServicedata.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.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.Communication") ? @"Az.EmailServicedata" : @"Az.Communication";
+
//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/Communication/EmailServicedata.Autorest/generated/runtime/Properties/Resources.resx b/generated/Communication/EmailServicedata.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Communication/EmailServicedata.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Communication/EmailServicedata.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/Communication/EmailServicedata.Autorest/resources/README.md b/generated/Communication/EmailServicedata.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/Communication/EmailServicedata.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleet.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleet.ps1
index 445c68260d0e..ece276b97ee1 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleet.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleet.ps1
@@ -139,6 +139,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -163,8 +172,6 @@ begin {
ListBySubscriptionId = 'Az.ComputeFleet.private\Get-AzComputeFleet_ListBySubscriptionId';
}
if (('Get', 'ListByResourceGroup', 'ListBySubscriptionId') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -178,6 +185,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleetVMSS.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleetVMSS.ps1
index ba45133cc483..e86c48b2548a 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleetVMSS.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Get-AzComputeFleetVMSS.ps1
@@ -110,6 +110,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -131,8 +140,6 @@ begin {
List = 'Az.ComputeFleet.private\Get-AzComputeFleetVMSS_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -146,6 +153,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/exports/New-AzComputeFleet.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/exports/New-AzComputeFleet.ps1
index a81420dc745f..f5cca1a32d8c 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/exports/New-AzComputeFleet.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/exports/New-AzComputeFleet.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create a Fleet
+Create a Fleet
.Description
-create a Fleet
+Create a Fleet
.Example
$fleet = Get-AzComputeFleet -ResourceGroupName "test-fleet" -FleetName "testFleet2"
$securedPassword = ConvertTo-SecureString -AsPlainText "[Sanitized]" -Force
@@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
RESOURCE : An Compute Fleet resource
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AcceleratorCountMax ]: Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified.
@@ -376,6 +376,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -398,8 +407,6 @@ begin {
CreateViaIdentity = 'Az.ComputeFleet.private\New-AzComputeFleet_CreateViaIdentity';
}
if (('Create') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -413,6 +420,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/exports/ProxyCmdletDefinitions.ps1
index 9b27814565fa..74cb449e612f 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -110,6 +110,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -131,8 +140,6 @@ begin {
List = 'Az.ComputeFleet.private\Get-AzComputeFleetVMSS_List';
}
if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -146,6 +153,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -314,6 +324,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -338,8 +357,6 @@ begin {
ListBySubscriptionId = 'Az.ComputeFleet.private\Get-AzComputeFleet_ListBySubscriptionId';
}
if (('Get', 'ListByResourceGroup', 'ListBySubscriptionId') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -353,6 +370,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -398,9 +418,9 @@ end {
<#
.Synopsis
-create a Fleet
+Create a Fleet
.Description
-create a Fleet
+Create a Fleet
.Example
$fleet = Get-AzComputeFleet -ResourceGroupName "test-fleet" -FleetName "testFleet2"
$securedPassword = ConvertTo-SecureString -AsPlainText "[Sanitized]" -Force
@@ -429,7 +449,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
RESOURCE : An Compute Fleet resource
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AcceleratorCountMax ]: Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified.
@@ -758,6 +778,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -780,8 +809,6 @@ begin {
CreateViaIdentity = 'Az.ComputeFleet.private\New-AzComputeFleet_CreateViaIdentity';
}
if (('Create') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -795,6 +822,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -974,6 +1004,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -996,8 +1035,6 @@ begin {
DeleteViaIdentity = 'Az.ComputeFleet.private\Remove-AzComputeFleet_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1011,6 +1048,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1056,9 +1096,9 @@ end {
<#
.Synopsis
-update a Fleet
+Update a Fleet
.Description
-update a Fleet
+Update a Fleet
.Example
$fleet = Get-AzComputeFleet -SubscriptionId $env.SubscriptionId -ResourceGroupName "test-fleet" -FleetName "testFleet"
$securedPassword = ConvertTo-SecureString -AsPlainText "[Sanitized]" -Force
@@ -1091,7 +1131,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
RESOURCE : An Compute Fleet resource
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AcceleratorCountMax ]: Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified.
@@ -1420,6 +1460,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1442,8 +1491,6 @@ begin {
UpdateViaIdentity = 'Az.ComputeFleet.private\Update-AzComputeFleet_UpdateViaIdentity';
}
if (('Update') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1457,6 +1504,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Remove-AzComputeFleet.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Remove-AzComputeFleet.ps1
index 5f25d62e5b1c..fbeabe7fe1fb 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Remove-AzComputeFleet.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Remove-AzComputeFleet.ps1
@@ -150,6 +150,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -172,8 +181,6 @@ begin {
DeleteViaIdentity = 'Az.ComputeFleet.private\Remove-AzComputeFleet_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -187,6 +194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Update-AzComputeFleet.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Update-AzComputeFleet.ps1
index 4a18139e3a1f..1cf0f4546960 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/exports/Update-AzComputeFleet.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/exports/Update-AzComputeFleet.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update a Fleet
+Update a Fleet
.Description
-update a Fleet
+Update a Fleet
.Example
$fleet = Get-AzComputeFleet -SubscriptionId $env.SubscriptionId -ResourceGroupName "test-fleet" -FleetName "testFleet"
$securedPassword = ConvertTo-SecureString -AsPlainText "[Sanitized]" -Force
@@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
RESOURCE : An Compute Fleet resource
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tag ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AcceleratorCountMax ]: Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified.
@@ -380,6 +380,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -402,8 +411,6 @@ begin {
UpdateViaIdentity = 'Az.ComputeFleet.private\Update-AzComputeFleet_UpdateViaIdentity';
}
if (('Update') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -417,6 +424,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/ComputeFleet.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/ComputeFleet.cs
index 937e83903d36..910f4c3767d5 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/ComputeFleet.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/ComputeFleet.cs
@@ -334,13 +334,13 @@ public partial class ComputeFleet
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.ComputeFleet.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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");
@@ -488,13 +488,13 @@ public partial class ComputeFleet
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.ComputeFleet.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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");
@@ -757,13 +757,13 @@ public partial class ComputeFleet
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.ComputeFleet.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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");
@@ -2497,13 +2497,13 @@ public partial class ComputeFleet
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.ComputeFleet.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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");
@@ -2652,13 +2652,13 @@ public partial class ComputeFleet
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.ComputeFleet.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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");
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/BaseVirtualMachineProfile.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/BaseVirtualMachineProfile.cs
index 3b8c3ce0768b..0f8be8734352 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/BaseVirtualMachineProfile.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/BaseVirtualMachineProfile.cs
@@ -265,10 +265,10 @@ public partial class BaseVirtualMachineProfile :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ICapacityReservationProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.CapacityReservation { get => (this._capacityReservation = this._capacityReservation ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.CapacityReservationProfile()); set { {_capacityReservation = value;} } }
/// Internal Acessors for CapacityReservationGroup
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.CapacityReservationGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ICapacityReservationProfileInternal)CapacityReservation).CapacityReservationGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ICapacityReservationProfileInternal)CapacityReservation).CapacityReservationGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.CapacityReservationGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ICapacityReservationProfileInternal)CapacityReservation).CapacityReservationGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ICapacityReservationProfileInternal)CapacityReservation).CapacityReservationGroup = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticProfileBootDiagnostic
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBootDiagnostics Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.DiagnosticProfileBootDiagnostic { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiagnosticsProfileInternal)DiagnosticsProfile).BootDiagnostic; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiagnosticsProfileInternal)DiagnosticsProfile).BootDiagnostic = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBootDiagnostics Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.DiagnosticProfileBootDiagnostic { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiagnosticsProfileInternal)DiagnosticsProfile).BootDiagnostic; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiagnosticsProfileInternal)DiagnosticsProfile).BootDiagnostic = value ?? null /* model class */; }
/// Internal Acessors for DiagnosticsProfile
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiagnosticsProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.DiagnosticsProfile { get => (this._diagnosticsProfile = this._diagnosticsProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.DiagnosticsProfile()); set { {_diagnosticsProfile = value;} } }
@@ -280,55 +280,55 @@ public partial class BaseVirtualMachineProfile :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.HardwareProfile { get => (this._hardwareProfile = this._hardwareProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetHardwareProfile()); set { {_hardwareProfile = value;} } }
/// Internal Acessors for HardwareProfileVMSizeProperty
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMSizeProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.HardwareProfileVMSizeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetHardwareProfileInternal)HardwareProfile).VMSizeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetHardwareProfileInternal)HardwareProfile).VMSizeProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMSizeProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.HardwareProfileVMSizeProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetHardwareProfileInternal)HardwareProfile).VMSizeProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetHardwareProfileInternal)HardwareProfile).VMSizeProperty = value ?? null /* model class */; }
/// Internal Acessors for ImageReferenceExactVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ImageReferenceExactVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReferenceExactVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReferenceExactVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ImageReferenceExactVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReferenceExactVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReferenceExactVersion = value ?? null; }
/// Internal Acessors for LinuxConfigurationPatchSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsAutomaticByPlatformSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.LinuxConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSettingsAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSettingsAutomaticByPlatformSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.LinuxConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSettingsAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationPatchSettingsAutomaticByPlatformSetting = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationSsh
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationSsh = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfigurationSsh = value ?? null /* model class */; }
/// Internal Acessors for ManagedDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskEncryptionSet = value ?? null /* model class */; }
/// Internal Acessors for ManagedDiskSecurityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskSecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskSecurityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskSecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ManagedDiskSecurityProfile = value ?? null /* model class */; }
/// Internal Acessors for NetworkProfile
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetNetworkProfile()); set { {_networkProfile = value;} } }
/// Internal Acessors for NetworkProfileHealthProbe
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiEntityReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.NetworkProfileHealthProbe { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkProfileInternal)NetworkProfile).HealthProbe; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkProfileInternal)NetworkProfile).HealthProbe = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiEntityReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.NetworkProfileHealthProbe { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkProfileInternal)NetworkProfile).HealthProbe; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkProfileInternal)NetworkProfile).HealthProbe = value ?? null /* model class */; }
/// Internal Acessors for OSDiskDiffDiskSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiffDiskSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSDiskDiffDiskSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskDiffDiskSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskDiffDiskSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiffDiskSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSDiskDiffDiskSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskDiffDiskSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskDiffDiskSetting = value ?? null /* model class */; }
/// Internal Acessors for OSDiskImage
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualHardDisk Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskImage = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualHardDisk Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskImage = value ?? null /* model class */; }
/// Internal Acessors for OSDiskManagedDisk
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSDiskManagedDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskManagedDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskManagedDisk = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSDiskManagedDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskManagedDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDiskManagedDisk = value ?? null /* model class */; }
/// Internal Acessors for OSProfile
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSProfile { get => (this._oSProfile = this._oSProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetOSProfile()); set { {_oSProfile = value;} } }
/// Internal Acessors for OSProfileLinuxConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).LinuxConfiguration = value ?? null /* model class */; }
/// Internal Acessors for OSProfileWindowsConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfiguration = value ?? null /* model class */; }
/// Internal Acessors for ScheduledEventProfileOSImageNotificationProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOSImageNotificationProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ScheduledEventProfileOSImageNotificationProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).OSImageNotificationProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).OSImageNotificationProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOSImageNotificationProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ScheduledEventProfileOSImageNotificationProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).OSImageNotificationProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).OSImageNotificationProfile = value ?? null /* model class */; }
/// Internal Acessors for ScheduledEventProfileTerminateNotificationProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ITerminateNotificationProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ScheduledEventProfileTerminateNotificationProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).TerminateNotificationProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).TerminateNotificationProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ITerminateNotificationProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ScheduledEventProfileTerminateNotificationProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).TerminateNotificationProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfileInternal)ScheduledEventsProfile).TerminateNotificationProfile = value ?? null /* model class */; }
/// Internal Acessors for ScheduledEventsProfile
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IScheduledEventsProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ScheduledEventsProfile { get => (this._scheduledEventsProfile = this._scheduledEventsProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ScheduledEventsProfile()); set { {_scheduledEventsProfile = value;} } }
@@ -340,16 +340,16 @@ public partial class BaseVirtualMachineProfile :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfile { get => (this._securityProfile = this._securityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.SecurityProfile()); set { {_securityProfile = value;} } }
/// Internal Acessors for SecurityProfileDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).SecurityProfileDiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).SecurityProfileDiskEncryptionSet = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileEncryptionIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IEncryptionIdentity Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileEncryptionIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).EncryptionIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).EncryptionIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IEncryptionIdentity Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileEncryptionIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).EncryptionIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).EncryptionIdentity = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileProxyAgentSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IProxyAgentSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileProxyAgentSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).ProxyAgentSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).ProxyAgentSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IProxyAgentSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileProxyAgentSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).ProxyAgentSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).ProxyAgentSetting = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileUefiSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUefiSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileUefiSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).UefiSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).UefiSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUefiSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.SecurityProfileUefiSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).UefiSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISecurityProfileInternal)SecurityProfile).UefiSetting = value ?? null /* model class */; }
/// Internal Acessors for ServiceArtifactReference
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IServiceArtifactReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.ServiceArtifactReference { get => (this._serviceArtifactReference = this._serviceArtifactReference ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ServiceArtifactReference()); set { {_serviceArtifactReference = value;} } }
@@ -358,24 +358,24 @@ public partial class BaseVirtualMachineProfile :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetStorageProfile()); set { {_storageProfile = value;} } }
/// Internal Acessors for StorageProfileImageReference
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IImageReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.StorageProfileImageReference { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReference; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReference = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IImageReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.StorageProfileImageReference { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReference; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).ImageReference = value ?? null /* model class */; }
/// Internal Acessors for StorageProfileOSDisk
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDisk Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.StorageProfileOSDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDisk = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDisk Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.StorageProfileOSDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal)StorageProfile).OSDisk = value ?? null /* model class */; }
/// Internal Acessors for TimeCreated
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.TimeCreated { get => this._timeCreated; set { {_timeCreated = value;} } }
/// Internal Acessors for WindowConfigurationPatchSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationPatchSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationPatchSetting = value ?? null /* model class */; }
/// Internal Acessors for WindowConfigurationWinRm
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWinRmConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.WindowConfigurationWinRm { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationWinRm; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationWinRm = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWinRmConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.WindowConfigurationWinRm { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationWinRm; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowConfigurationWinRm = value ?? null /* model class */; }
///
/// Internal Acessors for WindowsConfigurationPatchSettingsAutomaticByPlatformSetting
///
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.WindowsConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfigurationPatchSettingsAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfigurationPatchSettingsAutomaticByPlatformSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IBaseVirtualMachineProfileInternal.WindowsConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfigurationPatchSettingsAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal)OSProfile).WindowsConfigurationPatchSettingsAutomaticByPlatformSetting = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkProfile _networkProfile;
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
index 77c9e5e5b242..11b1704a8401 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.cs
@@ -23,10 +23,10 @@ public partial class ComponentsQjfoe3SchemasManagedserviceidentityupdateProperti
public string ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; }
/// Internal Acessors for ClientId
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal.ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal.ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).ClientId = value ?? null; }
/// Internal Acessors for PrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IUserAssignedIdentityInternal)__userAssignedIdentity).PrincipalId = value ?? null; }
/// The principal ID of the assigned identity.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ErrorResponse.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ErrorResponse.cs
index a4c6bea31b44..1f20b4677988 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Fleet.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Fleet.cs
index c1d030c88cad..52bd059085b2 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Fleet.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Fleet.cs
@@ -124,7 +124,7 @@ public partial class Fleet :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Maximum value. Double.MaxValue(1.7976931348623157E+308)
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
@@ -143,22 +143,22 @@ public partial class Fleet :
public double? MemoryInGiBPerVcpuMin { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).MemoryInGiBPerVcpuMin; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).MemoryInGiBPerVcpuMin = value ?? default(double); }
/// Internal Acessors for AdditionalLocationsProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalLocationsProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.AdditionalLocationsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalLocationsProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.AdditionalLocationsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile = value ?? null /* model class */; }
/// Internal Acessors for ComputeProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.ComputeProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.ComputeProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile = value ?? null /* model class */; }
/// Internal Acessors for ComputeProfileAdditionalVirtualMachineCapability
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalCapabilities Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.ComputeProfileAdditionalVirtualMachineCapability { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalCapabilities Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.ComputeProfileAdditionalVirtualMachineCapability { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for Plan
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPlan Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.Plan { get => (this._plan = this._plan ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.Plan()); set { {_plan = value;} } }
@@ -167,61 +167,79 @@ public partial class Fleet :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.FleetProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for RegularPriorityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IRegularPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.RegularPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IRegularPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.RegularPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile = value ?? null /* model class */; }
/// Internal Acessors for SpotPriorityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISpotPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.SpotPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISpotPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.SpotPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile = value ?? null /* model class */; }
/// Internal Acessors for TimeCreated
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.TimeCreated { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.TimeCreated { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated = value ?? default(global::System.DateTime); }
/// Internal Acessors for UniqueId
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.UniqueId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.UniqueId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId = value ?? null; }
/// Internal Acessors for VMAttribute
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributes Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttribute { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributes Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttribute { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeAcceleratorCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeAcceleratorCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeAcceleratorCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeDataDiskCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeDataDiskCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeDataDiskCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeLocalStorageInGiB
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeLocalStorageInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeLocalStorageInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeMemoryInGiB
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeMemoryInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeMemoryInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeMemoryInGiBperVcpu
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeMemoryInGiBperVcpu { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeMemoryInGiBperVcpu { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeNetworkBandwidthInMbps
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeNetworkBandwidthInMbps { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeNetworkBandwidthInMbps { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeNetworkInterfaceCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeRdmaNetworkInterfaceCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeRdmaNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeRdmaNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeVcpuCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeVcpuCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetInternal.VMAttributeVcpuCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
@@ -354,31 +372,31 @@ public partial class Fleet :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetProperties.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetProperties.cs
index 8075b1dbf449..06a42d8b0873 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetProperties.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetProperties.cs
@@ -116,7 +116,7 @@ public partial class FleetProperties :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.ComputeProfile { get => (this._computeProfile = this._computeProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ComputeProfile()); set { {_computeProfile = value;} } }
/// Internal Acessors for ComputeProfileAdditionalVirtualMachineCapability
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalCapabilities Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.ComputeProfileAdditionalVirtualMachineCapability { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfileInternal)ComputeProfile).AdditionalVirtualMachineCapability; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfileInternal)ComputeProfile).AdditionalVirtualMachineCapability = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalCapabilities Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.ComputeProfileAdditionalVirtualMachineCapability { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfileInternal)ComputeProfile).AdditionalVirtualMachineCapability; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfileInternal)ComputeProfile).AdditionalVirtualMachineCapability = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -137,31 +137,31 @@ public partial class FleetProperties :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributes Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttribute { get => (this._vMAttribute = this._vMAttribute ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VMAttributes()); set { {_vMAttribute = value;} } }
/// Internal Acessors for VMAttributeAcceleratorCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeAcceleratorCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).AcceleratorCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).AcceleratorCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeAcceleratorCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).AcceleratorCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).AcceleratorCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeDataDiskCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeDataDiskCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).DataDiskCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).DataDiskCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeDataDiskCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).DataDiskCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).DataDiskCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeLocalStorageInGiB
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeLocalStorageInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).LocalStorageInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).LocalStorageInGiB = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeLocalStorageInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).LocalStorageInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).LocalStorageInGiB = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeMemoryInGiB
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeMemoryInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiB = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeMemoryInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiB = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeMemoryInGiBperVcpu
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeMemoryInGiBperVcpu { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiBPerVcpu; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiBPerVcpu = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeMemoryInGiBperVcpu { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiBPerVcpu; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).MemoryInGiBPerVcpu = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeNetworkBandwidthInMbps
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeNetworkBandwidthInMbps { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkBandwidthInMbps; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkBandwidthInMbps = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeNetworkBandwidthInMbps { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkBandwidthInMbps; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkBandwidthInMbps = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeNetworkInterfaceCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkInterfaceCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).NetworkInterfaceCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeRdmaNetworkInterfaceCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeRdmaNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).RdmaNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).RdmaNetworkInterfaceCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeRdmaNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).RdmaNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).RdmaNetworkInterfaceCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeVcpuCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeVcpuCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).VCpuCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).VCpuCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal.VMAttributeVcpuCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).VCpuCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributesInternal)VMAttribute).VCpuCount = value ?? null /* model class */; }
/// Maximum value. Double.MaxValue(1.7976931348623157E+308)
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetUpdate.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetUpdate.cs
index 4dd771b85171..6e137ec16c18 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetUpdate.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/FleetUpdate.cs
@@ -109,13 +109,13 @@ public partial class FleetUpdate :
public double? MemoryInGiBPerVcpuMin { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).MemoryInGiBPerVcpuMin; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).MemoryInGiBPerVcpuMin = value ?? default(double); }
/// Internal Acessors for AdditionalLocationsProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalLocationsProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.AdditionalLocationsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalLocationsProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.AdditionalLocationsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).AdditionalLocationsProfile = value ?? null /* model class */; }
/// Internal Acessors for ComputeProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.ComputeProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IComputeProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.ComputeProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfile = value ?? null /* model class */; }
/// Internal Acessors for ComputeProfileAdditionalVirtualMachineCapability
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalCapabilities Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.ComputeProfileAdditionalVirtualMachineCapability { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IAdditionalCapabilities Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.ComputeProfileAdditionalVirtualMachineCapability { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ComputeProfileAdditionalVirtualMachineCapability = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IManagedServiceIdentityUpdate Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ManagedServiceIdentityUpdate()); set { {_identity = value;} } }
@@ -127,49 +127,49 @@ public partial class FleetUpdate :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.FleetProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for RegularPriorityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IRegularPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.RegularPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IRegularPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.RegularPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).RegularPriorityProfile = value ?? null /* model class */; }
/// Internal Acessors for SpotPriorityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISpotPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.SpotPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISpotPriorityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.SpotPriorityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).SpotPriorityProfile = value ?? null /* model class */; }
/// Internal Acessors for TimeCreated
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.TimeCreated { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.TimeCreated { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).TimeCreated = value ?? default(global::System.DateTime); }
/// Internal Acessors for UniqueId
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.UniqueId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.UniqueId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).UniqueId = value ?? null; }
/// Internal Acessors for VMAttribute
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributes Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttribute { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributes Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttribute { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttribute = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeAcceleratorCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeAcceleratorCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeAcceleratorCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeAcceleratorCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeDataDiskCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeDataDiskCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeDataDiskCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeDataDiskCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeLocalStorageInGiB
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeLocalStorageInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeLocalStorageInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeLocalStorageInGiB = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeMemoryInGiB
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeMemoryInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeMemoryInGiB { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiB = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeMemoryInGiBperVcpu
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeMemoryInGiBperVcpu { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeMemoryInGiBperVcpu { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeMemoryInGiBperVcpu = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeNetworkBandwidthInMbps
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeNetworkBandwidthInMbps { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxDouble Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeNetworkBandwidthInMbps { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkBandwidthInMbps = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeNetworkInterfaceCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeNetworkInterfaceCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeRdmaNetworkInterfaceCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeRdmaNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeRdmaNetworkInterfaceCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeRdmaNetworkInterfaceCount = value ?? null /* model class */; }
/// Internal Acessors for VMAttributeVcpuCount
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeVcpuCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMAttributeMinMaxInteger Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetUpdateInternal.VMAttributeVcpuCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IFleetPropertiesInternal)Property).VMAttributeVcpuCount = value ?? null /* model class */; }
/// Maximum value. Double.MaxValue(1.7976931348623157E+308)
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/LinuxConfiguration.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/LinuxConfiguration.cs
index 3d5146c2fc66..520a9cbd18db 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/LinuxConfiguration.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/LinuxConfiguration.cs
@@ -49,7 +49,7 @@ public partial class LinuxConfiguration :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal.PatchSetting { get => (this._patchSetting = this._patchSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.LinuxPatchSettings()); set { {_patchSetting = value;} } }
/// Internal Acessors for PatchSettingAutomaticByPlatformSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal.PatchSettingAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal.PatchSettingAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting = value ?? null /* model class */; }
/// Internal Acessors for Ssh
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal.Ssh { get => (this._ssh = this._ssh ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.SshConfiguration()); set { {_ssh = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Operation.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Operation.cs
index 40a12940dc8a..2aca36d2c4b1 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Operation.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Operation.cs
@@ -73,16 +73,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for IsDataAction
bool? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IOperationInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Resource.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Resource.cs
index 25cf2fb0963b..40e4809a4b25 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Resource.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/Resource.cs
@@ -33,6 +33,24 @@ public partial class Resource :
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Backing field for property.
private string _type;
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/TrackedResource.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/TrackedResource.cs
index 90a9dac1a355..3184f8e2a03d 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/ComputeFleet/ComputeFleet.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.ComputeFleet.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
@@ -53,31 +71,31 @@ public partial class TrackedResource :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ITrackedResourceTags _tag;
@@ -117,7 +135,7 @@ public partial interface ITrackedResource :
{
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = false,
Read = true,
Create = true,
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSet.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSet.cs
index 896fc8d1198c..f11d3b7e2b49 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSet.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSet.cs
@@ -15,11 +15,11 @@ public partial class VirtualMachineScaleSet :
/// The error code.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Code = value ?? null; }
+ public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Code; }
/// The API error details
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Detail = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Detail; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiError _error;
@@ -40,15 +40,21 @@ public partial class VirtualMachineScaleSet :
/// The internal error message or exception dump.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string InnererrorErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorErrorDetail = value ?? null; }
+ public string InnererrorErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorErrorDetail; }
/// The exception type.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string InnererrorExceptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorExceptionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorExceptionType = value ?? null; }
+ public string InnererrorExceptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorExceptionType; }
/// The error message.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Message = value ?? null; }
+ public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Message; }
+
+ /// Internal Acessors for Code
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Code = value ?? null; }
+
+ /// Internal Acessors for Detail
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiError Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ApiError()); set { {_error = value;} } }
@@ -57,7 +63,16 @@ public partial class VirtualMachineScaleSet :
string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Id { get => this._id; set { {_id = value;} } }
/// Internal Acessors for Innererror
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IInnerError Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Innererror { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Innererror; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Innererror = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IInnerError Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Innererror { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Innererror; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Innererror = value ?? null /* model class */; }
+
+ /// Internal Acessors for InnererrorErrorDetail
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.InnererrorErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorErrorDetail = value ?? null; }
+
+ /// Internal Acessors for InnererrorExceptionType
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.InnererrorExceptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorExceptionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).InnererrorExceptionType = value ?? null; }
+
+ /// Internal Acessors for Message
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Message = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Name { get => this._name; set { {_name = value;} } }
@@ -65,6 +80,9 @@ public partial class VirtualMachineScaleSet :
/// Internal Acessors for OperationStatus
string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.OperationStatus { get => this._operationStatus; set { {_operationStatus = value;} } }
+ /// Internal Acessors for Target
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Target = value ?? null; }
+
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetInternal.Type { get => this._type; set { {_type = value;} } }
@@ -87,7 +105,7 @@ public partial class VirtualMachineScaleSet :
/// The target of the particular error.
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Origin(Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.PropertyOrigin.Inlined)]
- public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Target = value ?? null; }
+ public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiErrorInternal)Error).Target; }
/// Backing field for property.
private string _type;
@@ -133,7 +151,7 @@ public partial interface IVirtualMachineScaleSet :
/// "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}"
///
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = false,
@@ -178,7 +196,7 @@ public partial interface IVirtualMachineScaleSet :
string Message { get; }
/// The name of the virtualMachineScaleSet
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = false,
@@ -192,7 +210,7 @@ public partial interface IVirtualMachineScaleSet :
/// resource.
///
[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.Info(
- Required = true,
+ Required = false,
ReadOnly = true,
Read = true,
Create = false,
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetDataDisk.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetDataDisk.cs
index 954718ede98a..f45fb0de8ee9 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetDataDisk.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetDataDisk.cs
@@ -112,13 +112,13 @@ public partial class VirtualMachineScaleSetDataDisk :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetDataDiskInternal.ManagedDisk { get => (this._managedDisk = this._managedDisk ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetManagedDiskParameters()); set { {_managedDisk = value;} } }
/// Internal Acessors for ManagedDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetDataDiskInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetDataDiskInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet = value ?? null /* model class */; }
/// Internal Acessors for ManagedDiskSecurityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetDataDiskInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetDataDiskInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetDataDiskInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetDataDiskInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet = value ?? null /* model class */; }
/// Backing field for property.
private string _name;
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtension.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtension.cs
index f9d902263896..007546b16a7d 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtension.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtension.cs
@@ -50,13 +50,13 @@ public partial class VirtualMachineScaleSetExtension :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetExtensionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProtectedSettingFromKeyVaultSourceVault
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.ProtectedSettingFromKeyVaultSourceVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingFromKeyVaultSourceVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingFromKeyVaultSourceVault = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.ProtectedSettingFromKeyVaultSourceVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingFromKeyVaultSourceVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingFromKeyVaultSourceVault = value ?? null /* model class */; }
/// Internal Acessors for ProtectedSettingsFromKeyVault
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IKeyVaultSecretReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.ProtectedSettingsFromKeyVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingsFromKeyVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingsFromKeyVault = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IKeyVaultSecretReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.ProtectedSettingsFromKeyVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingsFromKeyVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProtectedSettingsFromKeyVault = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtensionProperties.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtensionProperties.cs
index 5bdf57e706ee..56c9c65d2c9a 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtensionProperties.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetExtensionProperties.cs
@@ -46,7 +46,7 @@ public partial class VirtualMachineScaleSetExtensionProperties :
public string ForceUpdateTag { get => this._forceUpdateTag; set => this._forceUpdateTag = value; }
/// Internal Acessors for ProtectedSettingFromKeyVaultSourceVault
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal.ProtectedSettingFromKeyVaultSourceVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IKeyVaultSecretReferenceInternal)ProtectedSettingsFromKeyVault).SourceVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IKeyVaultSecretReferenceInternal)ProtectedSettingsFromKeyVault).SourceVault = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal.ProtectedSettingFromKeyVaultSourceVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IKeyVaultSecretReferenceInternal)ProtectedSettingsFromKeyVault).SourceVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IKeyVaultSecretReferenceInternal)ProtectedSettingsFromKeyVault).SourceVault = value ?? null /* model class */; }
/// Internal Acessors for ProtectedSettingsFromKeyVault
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IKeyVaultSecretReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetExtensionPropertiesInternal.ProtectedSettingsFromKeyVault { get => (this._protectedSettingsFromKeyVault = this._protectedSettingsFromKeyVault ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.KeyVaultSecretReference()); set { {_protectedSettingsFromKeyVault = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfiguration.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfiguration.cs
index 1dd231fd590d..4ec3cd248542 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfiguration.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfiguration.cs
@@ -72,25 +72,25 @@ public partial class VirtualMachineScaleSetIPConfiguration :
public System.Collections.Generic.List LoadBalancerInboundNatPool { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).LoadBalancerInboundNatPool; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).LoadBalancerInboundNatPool = value ?? null /* arrayOf */; }
/// Internal Acessors for DnsSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).DnsSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).DnsSetting = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetIPConfigurationProperties()); set { {_property = value;} } }
/// Internal Acessors for PublicIPAddressConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPAddressConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPAddressConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfiguration = value ?? null /* model class */; }
/// Internal Acessors for PublicIPAddressConfigurationProperty
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPAddressConfigurationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPAddressConfigurationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationProperty = value ?? null /* model class */; }
/// Internal Acessors for PublicIPAddressConfigurationSku
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPublicIPAddressSku Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPAddressConfigurationSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationSku = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPublicIPAddressSku Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPAddressConfigurationSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPAddressConfigurationSku = value ?? null /* model class */; }
/// Internal Acessors for PublicIPPrefix
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPPrefix = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.PublicIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).PublicIPPrefix = value ?? null /* model class */; }
/// Internal Acessors for Subnet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiEntityReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).Subnet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiEntityReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal)Property).Subnet = value ?? null /* model class */; }
/// Backing field for property.
private string _name;
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfigurationProperties.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfigurationProperties.cs
index 8d913a3da858..d4f461eb5a3f 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfigurationProperties.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetIPConfigurationProperties.cs
@@ -87,19 +87,19 @@ public partial class VirtualMachineScaleSetIPConfigurationProperties :
public System.Collections.Generic.List LoadBalancerInboundNatPool { get => this._loadBalancerInboundNatPool; set => this._loadBalancerInboundNatPool = value; }
/// Internal Acessors for DnsSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).DnsSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).DnsSetting = value ?? null /* model class */; }
/// Internal Acessors for PublicIPAddressConfiguration
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.PublicIPAddressConfiguration { get => (this._publicIPAddressConfiguration = this._publicIPAddressConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetPublicIPAddressConfiguration()); set { {_publicIPAddressConfiguration = value;} } }
/// Internal Acessors for PublicIPAddressConfigurationProperty
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.PublicIPAddressConfigurationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Property = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.PublicIPAddressConfigurationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Property = value ?? null /* model class */; }
/// Internal Acessors for PublicIPAddressConfigurationSku
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPublicIPAddressSku Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.PublicIPAddressConfigurationSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Sku = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPublicIPAddressSku Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.PublicIPAddressConfigurationSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).Sku = value ?? null /* model class */; }
/// Internal Acessors for PublicIPPrefix
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.PublicIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).PublicIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).PublicIPPrefix = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.PublicIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).PublicIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal)PublicIPAddressConfiguration).PublicIPPrefix = value ?? null /* model class */; }
/// Internal Acessors for Subnet
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IApiEntityReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetIPConfigurationPropertiesInternal.Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ApiEntityReference()); set { {_subnet = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetManagedDiskParameters.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetManagedDiskParameters.cs
index dd5d7f7a5235..003c17f6b7d5 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetManagedDiskParameters.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetManagedDiskParameters.cs
@@ -34,7 +34,7 @@ public partial class VirtualMachineScaleSetManagedDiskParameters :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal.SecurityProfile { get => (this._securityProfile = this._securityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VMDiskSecurityProfile()); set { {_securityProfile = value;} } }
/// Internal Acessors for SecurityProfileDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfileInternal)SecurityProfile).DiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfileInternal)SecurityProfile).DiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfileInternal)SecurityProfile).DiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfileInternal)SecurityProfile).DiskEncryptionSet = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile _securityProfile;
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetNetworkConfiguration.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetNetworkConfiguration.cs
index cd0a656eb42e..13c907c69801 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetNetworkConfiguration.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetNetworkConfiguration.cs
@@ -56,10 +56,10 @@ public partial class VirtualMachineScaleSetNetworkConfiguration :
public System.Collections.Generic.List IPConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).IPConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).IPConfiguration = value ?? null /* arrayOf */; }
/// Internal Acessors for DnsSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).DnsSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).DnsSetting = value ?? null /* model class */; }
/// Internal Acessors for NetworkSecurityGroup
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationInternal.NetworkSecurityGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).NetworkSecurityGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).NetworkSecurityGroup = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationInternal.NetworkSecurityGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).NetworkSecurityGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationPropertiesInternal)Property).NetworkSecurityGroup = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetNetworkConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetNetworkConfigurationProperties()); set { {_property = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSDisk.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSDisk.cs
index 1aa4f4f7b41f..71a39c9318a5 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSDisk.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSDisk.cs
@@ -130,13 +130,13 @@ public partial class VirtualMachineScaleSetOSDisk :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal.ManagedDisk { get => (this._managedDisk = this._managedDisk ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetManagedDiskParameters()); set { {_managedDisk = value;} } }
/// Internal Acessors for ManagedDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).DiskEncryptionSet = value ?? null /* model class */; }
/// Internal Acessors for ManagedDiskSecurityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfile = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParametersInternal)ManagedDisk).SecurityProfileDiskEncryptionSet = value ?? null /* model class */; }
/// Backing field for property.
private string _name;
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSProfile.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSProfile.cs
index 701f53b030e9..3e2031227a87 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSProfile.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetOSProfile.cs
@@ -152,19 +152,19 @@ public partial class VirtualMachineScaleSetOSProfile :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.LinuxConfiguration { get => (this._linuxConfiguration = this._linuxConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.LinuxConfiguration()); set { {_linuxConfiguration = value;} } }
/// Internal Acessors for LinuxConfigurationPatchSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsAutomaticByPlatformSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.LinuxConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSettingAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSettingAutomaticByPlatformSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.LinuxConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSettingAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).PatchSettingAutomaticByPlatformSetting = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationSsh
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).Ssh = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ILinuxConfigurationInternal)LinuxConfiguration).Ssh = value ?? null /* model class */; }
/// Internal Acessors for WindowConfigurationPatchSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSetting = value ?? null /* model class */; }
/// Internal Acessors for WindowConfigurationWinRm
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWinRmConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.WindowConfigurationWinRm { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).WinRm; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).WinRm = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWinRmConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.WindowConfigurationWinRm { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).WinRm; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).WinRm = value ?? null /* model class */; }
/// Internal Acessors for WindowsConfiguration
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.WindowsConfiguration { get => (this._windowsConfiguration = this._windowsConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.WindowsConfiguration()); set { {_windowsConfiguration = value;} } }
@@ -172,7 +172,7 @@ public partial class VirtualMachineScaleSetOSProfile :
///
/// Internal Acessors for WindowsConfigurationPatchSettingsAutomaticByPlatformSetting
///
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.WindowsConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSettingAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSettingAutomaticByPlatformSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSProfileInternal.WindowsConfigurationPatchSettingsAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSettingAutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal)WindowsConfiguration).PatchSettingAutomaticByPlatformSetting = value ?? null /* model class */; }
///
/// Enables customers to patch their Azure VMs without requiring a reboot. For
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetPublicIPAddressConfiguration.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetPublicIPAddressConfiguration.cs
index a4920cfe1a8a..cb9b8ae3807e 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetPublicIPAddressConfiguration.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetPublicIPAddressConfiguration.cs
@@ -46,13 +46,13 @@ public partial class VirtualMachineScaleSetPublicIPAddressConfiguration :
public int? IdleTimeoutInMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).IdleTimeoutInMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).IdleTimeoutInMinute = value ?? default(int); }
/// Internal Acessors for DnsSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).DnsSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).DnsSetting = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetPublicIPAddressConfigurationProperties()); set { {_property = value;} } }
/// Internal Acessors for PublicIPPrefix
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal.PublicIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).PublicIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).PublicIPPrefix = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ISubResource Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal.PublicIPPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).PublicIPPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationPropertiesInternal)Property).PublicIPPrefix = value ?? null /* model class */; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPublicIPAddressSku Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetPublicIPAddressConfigurationInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.PublicIPAddressSku()); set { {_sku = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetStorageProfile.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetStorageProfile.cs
index 59208ee0e991..3aaffea4a462 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetStorageProfile.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/VirtualMachineScaleSetStorageProfile.cs
@@ -137,28 +137,28 @@ public partial class VirtualMachineScaleSetStorageProfile :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IImageReference Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.ImageReference { get => (this._imageReference = this._imageReference ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.ImageReference()); set { {_imageReference = value;} } }
/// Internal Acessors for ImageReferenceExactVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.ImageReferenceExactVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IImageReferenceInternal)ImageReference).ExactVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IImageReferenceInternal)ImageReference).ExactVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.ImageReferenceExactVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IImageReferenceInternal)ImageReference).ExactVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IImageReferenceInternal)ImageReference).ExactVersion = value ?? null; }
/// Internal Acessors for ManagedDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.ManagedDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskEncryptionSet = value ?? null /* model class */; }
/// Internal Acessors for ManagedDiskSecurityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskSecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskSecurityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVMDiskSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.ManagedDiskSecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskSecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDiskSecurityProfile = value ?? null /* model class */; }
/// Internal Acessors for OSDisk
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDisk Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.OSDisk { get => (this._oSDisk = this._oSDisk ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.VirtualMachineScaleSetOSDisk()); set { {_oSDisk = value;} } }
/// Internal Acessors for OSDiskDiffDiskSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiffDiskSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.OSDiskDiffDiskSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).DiffDiskSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).DiffDiskSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiffDiskSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.OSDiskDiffDiskSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).DiffDiskSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).DiffDiskSetting = value ?? null /* model class */; }
/// Internal Acessors for OSDiskImage
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualHardDisk Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.OSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).Image; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).Image = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualHardDisk Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.OSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).Image; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).Image = value ?? null /* model class */; }
/// Internal Acessors for OSDiskManagedDisk
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.OSDiskManagedDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDisk = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetManagedDiskParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.OSDiskManagedDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).ManagedDisk = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileDiskEncryptionSet
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).SecurityProfileDiskEncryptionSet = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IDiskEncryptionSetParameters Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetStorageProfileInternal.SecurityProfileDiskEncryptionSet { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).SecurityProfileDiskEncryptionSet; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDiskInternal)OSDisk).SecurityProfileDiskEncryptionSet = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IVirtualMachineScaleSetOSDisk _oSDisk;
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/WindowsConfiguration.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/WindowsConfiguration.cs
index 37f2ef4ef820..e373d87e5139 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/WindowsConfiguration.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/api/Models/WindowsConfiguration.cs
@@ -59,7 +59,7 @@ public partial class WindowsConfiguration :
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal.PatchSetting { get => (this._patchSetting = this._patchSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.PatchSettings()); set { {_patchSetting = value;} } }
/// Internal Acessors for PatchSettingAutomaticByPlatformSetting
- Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal.PatchSettingAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsVMGuestPatchAutomaticByPlatformSettings Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal.PatchSettingAutomaticByPlatformSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IPatchSettingsInternal)PatchSetting).AutomaticByPlatformSetting = value ?? null /* model class */; }
/// Internal Acessors for WinRm
Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWinRmConfiguration Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.IWindowsConfigurationInternal.WinRm { get => (this._winRm = this._winRm ?? new Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Models.WinRmConfiguration()); set { {_winRm = value;} } }
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 9e4039188f69..9c4a737c7e6d 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ComputeFleet/ComputeFleet.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/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 0b3ab86e0d09..45c5eb73cbb7 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -216,6 +216,21 @@ public string GetProcessCustomAttributesAtRuntime()
{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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}Write-Error ""No Azure login detected. Please run 'Connect-AzAccount' to log in.""
+{Indent}{Indent}{Indent}exit
+{Indent}{Indent}}}
+";
+ }
+ return "";
+ }
+
private string GetTelemetry()
{
if (!VariantGroup.IsInternal && IsAzure)
@@ -248,10 +263,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.ComputeFleet.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 +316,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.ComputeFleet.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/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index b11cd06c11f4..d46c527cee43 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ComputeFleet/ComputeFleet.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/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/PsAttributes.cs
index 2f2e8ecaed00..165e5a618c22 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/BuildTime/PsAttributes.cs
+++ b/generated/ComputeFleet/ComputeFleet.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/ComputeFleet/ComputeFleet.Autorest/generated/runtime/MessageAttribute.cs b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/MessageAttribute.cs
index af7faa3fbb54..98e2c69925fc 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.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.ComputeFleet" : @"";
+
//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/ComputeFleet/ComputeFleet.Autorest/generated/runtime/Properties/Resources.resx b/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ComputeFleet/ComputeFleet.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/ComputeFleet/ComputeFleet.Autorest/internal/Get-AzComputeFleetOperation.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/internal/Get-AzComputeFleetOperation.ps1
index 3918efa29974..d84a6b10523f 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/internal/Get-AzComputeFleetOperation.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/internal/Get-AzComputeFleetOperation.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.ComputeFleet.private\Get-AzComputeFleetOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/ComputeFleet/ComputeFleet.Autorest/internal/ProxyCmdletDefinitions.ps1
index 3918efa29974..d84a6b10523f 100644
--- a/generated/ComputeFleet/ComputeFleet.Autorest/internal/ProxyCmdletDefinitions.ps1
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/internal/ProxyCmdletDefinitions.ps1
@@ -90,11 +90,17 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
$mapping = @{
List = 'Az.ComputeFleet.private\Get-AzComputeFleetOperation_List';
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ComputeFleet/ComputeFleet.Autorest/resources/README.md b/generated/ComputeFleet/ComputeFleet.Autorest/resources/README.md
new file mode 100644
index 000000000000..937f07f8fec2
--- /dev/null
+++ b/generated/ComputeFleet/ComputeFleet.Autorest/resources/README.md
@@ -0,0 +1,11 @@
+# Resources
+This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
+
+## Info
+- Modifiable: yes
+- Generated: no
+- Committed: yes
+- Packaged: no
+
+## Purpose
+Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
\ No newline at end of file
diff --git a/generated/Confluent/Confluent.Autorest/exports/New-AzConfluentOrganization.ps1 b/generated/Confluent/Confluent.Autorest/exports/New-AzConfluentOrganization.ps1
index ee0db19f5ff1..b155064c2640 100644
--- a/generated/Confluent/Confluent.Autorest/exports/New-AzConfluentOrganization.ps1
+++ b/generated/Confluent/Confluent.Autorest/exports/New-AzConfluentOrganization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-create Organization resource
+Create Organization resource
.Description
-create Organization resource
+Create Organization resource
.Example
New-AzConfluentOrganization -ResourceGroupName azure-rg-test -Name confluentorg-02-pwsh -Location eastus -OfferDetailId "confluent-cloud-azure-prod" -OfferDetailPlanId "confluent-cloud-azure-payg-prod" -OfferDetailPlanName "Confluent Cloud - Pay as you Go" -OfferDetailPublisherId "confluentinc" -OfferDetailTermUnit "P1M" -UserDetailEmailAddress "xxxx@microsoft.com"
diff --git a/generated/Confluent/Confluent.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Confluent/Confluent.Autorest/exports/ProxyCmdletDefinitions.ps1
index 37de151d61d2..9c88ee8be01b 100644
--- a/generated/Confluent/Confluent.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/Confluent/Confluent.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -399,9 +399,9 @@ end {
<#
.Synopsis
-create Organization resource
+Create Organization resource
.Description
-create Organization resource
+Create Organization resource
.Example
New-AzConfluentOrganization -ResourceGroupName azure-rg-test -Name confluentorg-02-pwsh -Location eastus -OfferDetailId "confluent-cloud-azure-prod" -OfferDetailPlanId "confluent-cloud-azure-payg-prod" -OfferDetailPlanName "Confluent Cloud - Pay as you Go" -OfferDetailPublisherId "confluentinc" -OfferDetailTermUnit "P1M" -UserDetailEmailAddress "xxxx@microsoft.com"
@@ -669,9 +669,9 @@ end {
<#
.Synopsis
-update Organization resource
+Update Organization resource
.Description
-update Organization resource
+Update Organization resource
.Example
Update-AzConfluentOrganization -ResourceGroupName azure-rg-test -Name confluentorg-02-pwsh -Tag @{"key01" = "value01"}
.Example
diff --git a/generated/Confluent/Confluent.Autorest/exports/Update-AzConfluentOrganization.ps1 b/generated/Confluent/Confluent.Autorest/exports/Update-AzConfluentOrganization.ps1
index d0362a2cef78..e61387422cbb 100644
--- a/generated/Confluent/Confluent.Autorest/exports/Update-AzConfluentOrganization.ps1
+++ b/generated/Confluent/Confluent.Autorest/exports/Update-AzConfluentOrganization.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-update Organization resource
+Update Organization resource
.Description
-update Organization resource
+Update Organization resource
.Example
Update-AzConfluentOrganization -ResourceGroupName azure-rg-test -Name confluentorg-02-pwsh -Tag @{"key01" = "value01"}
.Example
diff --git a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResource.cs b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResource.cs
index a54cbcb00434..780fbf37d816 100644
--- a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResource.cs
+++ b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResource.cs
@@ -32,7 +32,7 @@ public partial class OrganizationResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for CreatedTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).CreatedTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).CreatedTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.Id { get => this._id; set { {_id = value;} } }
@@ -41,28 +41,28 @@ public partial class OrganizationResource :
string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for OfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesOfferDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.OfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesOfferDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.OfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetail = value ?? null /* model class */; }
/// Internal Acessors for OfferDetailStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.OfferDetailStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetailStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetailStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.OfferDetailStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetailStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OfferDetailStatus = value ?? null; }
/// Internal Acessors for OrganizationId
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.OrganizationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OrganizationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OrganizationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.OrganizationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OrganizationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).OrganizationId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceProperties Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.OrganizationResourceProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SsoUrl
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.SsoUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).SsoUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).SsoUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.SsoUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).SsoUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).SsoUrl = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.Type { get => this._type; set { {_type = value;} } }
/// Internal Acessors for UserDetail
- Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesUserDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.UserDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).UserDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).UserDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesUserDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourceInternal.UserDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).UserDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)Property).UserDetail = value ?? null /* model class */; }
/// Backing field for property.
private string _name;
diff --git a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourceProperties.cs b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourceProperties.cs
index 7dc985d9ca15..6129a19137f3 100644
--- a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourceProperties.cs
+++ b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourceProperties.cs
@@ -24,25 +24,25 @@ public partial class OrganizationResourceProperties :
public global::System.DateTime? CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).CreatedTime; }
/// Internal Acessors for CreatedTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).CreatedTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.CreatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).CreatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).CreatedTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for OfferDetail
- Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesOfferDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesOfferDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OfferDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetail = value ?? null /* model class */; }
/// Internal Acessors for OfferDetailStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OfferDetailStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetailStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetailStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OfferDetailStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetailStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OfferDetailStatus = value ?? null; }
/// Internal Acessors for OrganizationId
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OrganizationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OrganizationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OrganizationId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OrganizationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OrganizationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).OrganizationId = value ?? null; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).ProvisioningState = value ?? null; }
/// Internal Acessors for SsoUrl
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.SsoUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).SsoUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).SsoUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.SsoUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).SsoUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).SsoUrl = value ?? null; }
/// Internal Acessors for UserDetail
- Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesUserDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.UserDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).UserDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).UserDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesUserDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.UserDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).UserDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal)__organizationResourcePropertiesAutoGenerated).UserDetail = value ?? null /* model class */; }
/// Confluent offer detail
[Microsoft.Azure.PowerShell.Cmdlets.Confluent.Origin(Microsoft.Azure.PowerShell.Cmdlets.Confluent.PropertyOrigin.Inherited)]
diff --git a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesAutoGenerated.cs b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesAutoGenerated.cs
index 78072f2dffc5..f39ce6f23cd9 100644
--- a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesAutoGenerated.cs
+++ b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesAutoGenerated.cs
@@ -27,7 +27,7 @@ public partial class OrganizationResourcePropertiesAutoGenerated :
Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesOfferDetail Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OfferDetail { get => (this._offerDetail = this._offerDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.OrganizationResourcePropertiesOfferDetail()); set { {_offerDetail = value;} } }
/// Internal Acessors for OfferDetailStatus
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OfferDetailStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)OfferDetail).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)OfferDetail).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OfferDetailStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)OfferDetail).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)OfferDetail).Status = value ?? null; }
/// Internal Acessors for OrganizationId
string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOrganizationResourcePropertiesAutoGeneratedInternal.OrganizationId { get => this._organizationId; set { {_organizationId = value;} } }
diff --git a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesOfferDetail.cs b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesOfferDetail.cs
index 0a9878dabb39..14f82267bacf 100644
--- a/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesOfferDetail.cs
+++ b/generated/Confluent/Confluent.Autorest/generated/api/Models/OrganizationResourcePropertiesOfferDetail.cs
@@ -23,7 +23,7 @@ public partial class OrganizationResourcePropertiesOfferDetail :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)__offerDetail).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)__offerDetail).Id = value ?? null; }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)__offerDetail).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)__offerDetail).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)__offerDetail).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IOfferDetailInternal)__offerDetail).Status = value ?? null; }
/// Offer Plan Id
[Microsoft.Azure.PowerShell.Cmdlets.Confluent.Origin(Microsoft.Azure.PowerShell.Cmdlets.Confluent.PropertyOrigin.Inherited)]
diff --git a/generated/Confluent/Confluent.Autorest/generated/api/Models/ResourceProviderDefaultErrorResponse.cs b/generated/Confluent/Confluent.Autorest/generated/api/Models/ResourceProviderDefaultErrorResponse.cs
index 0353f2cc6468..2aa52dc76b34 100644
--- a/generated/Confluent/Confluent.Autorest/generated/api/Models/ResourceProviderDefaultErrorResponse.cs
+++ b/generated/Confluent/Confluent.Autorest/generated/api/Models/ResourceProviderDefaultErrorResponse.cs
@@ -33,19 +33,19 @@ public partial class ResourceProviderDefaultErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Message; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBody Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.ErrorResponseBody()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IResourceProviderDefaultErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Confluent.Models.IErrorResponseBodyInternal)Error).Target = value ?? null; }
/// Error target
[Microsoft.Azure.PowerShell.Cmdlets.Confluent.Origin(Microsoft.Azure.PowerShell.Cmdlets.Confluent.PropertyOrigin.Inlined)]
diff --git a/generated/Confluent/Confluent.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/Confluent/Confluent.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 47c5d62c52a0..58c79ee18880 100644
--- a/generated/Confluent/Confluent.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/Confluent/Confluent.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/Confluent/Confluent.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/Confluent/Confluent.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 4c982253b315..8e07e2b955ff 100644
--- a/generated/Confluent/Confluent.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/Confluent/Confluent.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/Confluent/Confluent.Autorest/generated/runtime/MessageAttribute.cs b/generated/Confluent/Confluent.Autorest/generated/runtime/MessageAttribute.cs
index 0d0d6f00ca95..50e0b6769984 100644
--- a/generated/Confluent/Confluent.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/Confluent/Confluent.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Confluent.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.Confluent" : @"";
+
//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/Confluent/Confluent.Autorest/generated/runtime/Properties/Resources.resx b/generated/Confluent/Confluent.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/Confluent/Confluent.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/Confluent/Confluent.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/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedCluster.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedCluster.cs
index 8e5d60dbb59d..ec5f9f7aa9cd 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedCluster.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedCluster.cs
@@ -157,97 +157,97 @@ public partial class ConnectedCluster :
public global::System.DateTime? ManagedIdentityCertificateExpirationTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ManagedIdentityCertificateExpirationTime; }
/// Internal Acessors for AadProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IAadProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.AadProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AadProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AadProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IAadProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.AadProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AadProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AadProfile = value ?? null /* model class */; }
/// Internal Acessors for AgentVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AgentVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).AgentVersion = value ?? null; }
/// Internal Acessors for ArcAgentProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IArcAgentProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ArcAgentProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IArcAgentProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ArcAgentProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfile = value ?? null /* model class */; }
/// Internal Acessors for ArcAgentProfileAgentState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ArcAgentProfileAgentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfileAgentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfileAgentState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ArcAgentProfileAgentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfileAgentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ArcAgentProfileAgentState = value ?? null; }
/// Internal Acessors for ConnectivityStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ConnectivityStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ConnectivityStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ConnectivityStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ConnectivityStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ConnectivityStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ConnectivityStatus = value ?? null; }
/// Internal Acessors for Gateway
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IGateway Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.Gateway { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Gateway; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Gateway = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IGateway Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.Gateway { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Gateway; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Gateway = value ?? null /* model class */; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ConnectedClusterIdentity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for KubernetesVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).KubernetesVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.KubernetesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).KubernetesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).KubernetesVersion = value ?? null; }
/// Internal Acessors for LastConnectivityTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.LastConnectivityTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).LastConnectivityTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).LastConnectivityTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.LastConnectivityTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).LastConnectivityTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).LastConnectivityTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for ManagedIdentityCertificateExpirationTime
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ManagedIdentityCertificateExpirationTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ManagedIdentityCertificateExpirationTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ManagedIdentityCertificateExpirationTime = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.ManagedIdentityCertificateExpirationTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ManagedIdentityCertificateExpirationTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).ManagedIdentityCertificateExpirationTime = value ?? default(global::System.DateTime); }
/// Internal Acessors for MiscellaneousProperty
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesMiscellaneousProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.MiscellaneousProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).MiscellaneousProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).MiscellaneousProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesMiscellaneousProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.MiscellaneousProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).MiscellaneousProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).MiscellaneousProperty = value ?? null /* model class */; }
/// Internal Acessors for Offering
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.Offering { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Offering; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Offering = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.Offering { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Offering; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).Offering = value ?? null; }
/// Internal Acessors for OidcIssuerProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOidcIssuerProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.OidcIssuerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOidcIssuerProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.OidcIssuerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfile = value ?? null /* model class */; }
/// Internal Acessors for OidcIssuerProfileIssuerUrl
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).OidcIssuerProfileIssuerUrl = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ConnectedClusterProperties()); set { {_property = value;} } }
/// Internal Acessors for SecurityProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfile = value ?? null /* model class */; }
/// Internal Acessors for SecurityProfileWorkloadIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).SecurityProfileWorkloadIdentity = value ?? null /* model class */; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.SystemData()); set { {_systemData = value;} } }
/// Internal Acessors for SystemDataCreatedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataCreatedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
/// Internal Acessors for SystemDataCreatedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedAt
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedAt = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
/// Internal Acessors for SystemDataLastModifiedBy
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedBy = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
/// Internal Acessors for SystemDataLastModifiedByType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedByType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
/// Internal Acessors for TotalCoreCount
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.TotalCoreCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalCoreCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalCoreCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.TotalCoreCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalCoreCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalCoreCount = value ?? default(int); }
/// Internal Acessors for TotalNodeCount
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.TotalNodeCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalNodeCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalNodeCount = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterInternal.TotalNodeCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalNodeCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal)Property).TotalNodeCount = value ?? default(int); }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// More properties related to the Connected Cluster
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.PropertyOrigin.Inlined)]
diff --git a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedClusterProperties.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedClusterProperties.cs
index fef8a2c9e9e5..1011e9fa091c 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedClusterProperties.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ConnectedClusterProperties.cs
@@ -173,7 +173,7 @@ public partial class ConnectedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IArcAgentProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.ArcAgentProfile { get => (this._arcAgentProfile = this._arcAgentProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ArcAgentProfile()); set { {_arcAgentProfile = value;} } }
/// Internal Acessors for ArcAgentProfileAgentState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.ArcAgentProfileAgentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IArcAgentProfileInternal)ArcAgentProfile).AgentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IArcAgentProfileInternal)ArcAgentProfile).AgentState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.ArcAgentProfileAgentState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IArcAgentProfileInternal)ArcAgentProfile).AgentState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IArcAgentProfileInternal)ArcAgentProfile).AgentState = value ?? null; }
/// Internal Acessors for ConnectivityStatus
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.ConnectivityStatus { get => this._connectivityStatus; set { {_connectivityStatus = value;} } }
@@ -200,13 +200,13 @@ public partial class ConnectedClusterProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOidcIssuerProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.OidcIssuerProfile { get => (this._oidcIssuerProfile = this._oidcIssuerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.OidcIssuerProfile()); set { {_oidcIssuerProfile = value;} } }
/// Internal Acessors for OidcIssuerProfileIssuerUrl
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.OidcIssuerProfileIssuerUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOidcIssuerProfileInternal)OidcIssuerProfile).IssuerUrl = value ?? null; }
/// Internal Acessors for SecurityProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.SecurityProfile { get => (this._securityProfile = this._securityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.SecurityProfile()); set { {_securityProfile = value;} } }
/// Internal Acessors for SecurityProfileWorkloadIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileInternal)SecurityProfile).WorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileInternal)SecurityProfile).WorkloadIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileWorkloadIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.SecurityProfileWorkloadIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileInternal)SecurityProfile).WorkloadIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ISecurityProfileInternal)SecurityProfile).WorkloadIdentity = value ?? null /* model class */; }
/// Internal Acessors for TotalCoreCount
int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IConnectedClusterPropertiesInternal.TotalCoreCount { get => this._totalCoreCount; set { {_totalCoreCount = value;} } }
diff --git a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/CredentialResults.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/CredentialResults.cs
index 58554362b9b4..ade9d6d7c7cd 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/CredentialResults.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/CredentialResults.cs
@@ -55,22 +55,22 @@ public partial class CredentialResults :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfig Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfig { get => (this._hybridConnectionConfig = this._hybridConnectionConfig ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.HybridConnectionConfig()); set { {_hybridConnectionConfig = value;} } }
/// Internal Acessors for HybridConnectionConfigExpirationTime
- long? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigExpirationTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).ExpirationTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).ExpirationTime = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigExpirationTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).ExpirationTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).ExpirationTime = value ?? default(long); }
/// Internal Acessors for HybridConnectionConfigHybridConnectionName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigHybridConnectionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).HybridConnectionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).HybridConnectionName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigHybridConnectionName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).HybridConnectionName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).HybridConnectionName = value ?? null; }
/// Internal Acessors for HybridConnectionConfigRelay
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigRelay { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Relay; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Relay = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigRelay { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Relay; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Relay = value ?? null; }
/// Internal Acessors for HybridConnectionConfigRelayTid
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigRelayTid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayTid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayTid = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigRelayTid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayTid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayTid = value ?? null; }
/// Internal Acessors for HybridConnectionConfigRelayType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigRelayType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigRelayType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).RelayType = value ?? null; }
/// Internal Acessors for HybridConnectionConfigToken
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Token = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.HybridConnectionConfigToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Token; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IHybridConnectionConfigInternal)HybridConnectionConfig).Token = value ?? null; }
/// Internal Acessors for Kubeconfig
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ICredentialResultsInternal.Kubeconfig { get => this._kubeconfig; set { {_kubeconfig = value;} } }
diff --git a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ErrorResponse.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ErrorResponse.cs
index 4b1feb9c3f0c..e34615111f11 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.PropertyOrigin.Inlined)]
diff --git a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/Operation.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/Operation.cs
index e99cd14c4e2f..b0a9c8c057c3 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/Operation.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/Operation.cs
@@ -40,16 +40,16 @@ public partial class Operation :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.OperationDisplay()); set { {_display = value;} } }
/// Internal Acessors for DisplayDescription
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Description = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Description = value ?? null; }
/// Internal Acessors for DisplayOperation
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Operation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Operation = value ?? null; }
/// Internal Acessors for DisplayProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Provider = value ?? null; }
/// Internal Acessors for DisplayResource
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Resource = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationDisplayInternal)Display).Resource = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IOperationInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/TrackedResource.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/TrackedResource.cs
index 91bad8b9418f..fefcea941249 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/TrackedResource.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/api/Models/TrackedResource.cs
@@ -35,13 +35,13 @@ public partial class TrackedResource :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.IResourceInternal)__resource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
index 4a419e66787e..13e24f6bc090 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.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/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
index 93def2293ee5..551071dab375 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs
@@ -392,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/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/MessageAttribute.cs b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/MessageAttribute.cs
index c4a66257a6d6..86be40e8d4cf 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/MessageAttribute.cs
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/MessageAttribute.cs
@@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.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.ConnectedKubernetes" : @"";
+
//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/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/Properties/Resources.resx b/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/Properties/Resources.resx
index a08a2e50172b..4ef90b70573d 100644
--- a/generated/ConnectedKubernetes/ConnectedKubernetes.Autorest/generated/runtime/Properties/Resources.resx
+++ b/generated/ConnectedKubernetes/ConnectedKubernetes.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/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj b/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj
index 7e99a627fb3b..30021efc9299 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.csproj
@@ -2,9 +2,9 @@
ConnectedMachine
ConnectedMachine
+ ConnectedMachine.Autorest
-
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/Properties/AssemblyInfo.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/Properties/AssemblyInfo.cs
deleted file mode 100644
index 8f275b44af46..000000000000
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// 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.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Microsoft Azure Powershell - ConnectedMachine")]
-[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
-[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
-[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(false)]
-[assembly: Guid("1c3a6300-5308-40da-983c-64817bcf0468")]
-[assembly: AssemblyVersion("1.1.1")]
-[assembly: AssemblyFileVersion("1.1.1")]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Connect-AzConnectedMachine.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Connect-AzConnectedMachine.ps1
index 1d4478eab9ba..59ec5623da08 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Connect-AzConnectedMachine.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Connect-AzConnectedMachine.ps1
@@ -129,6 +129,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -150,8 +159,6 @@ begin {
__AllParameterSets = 'Az.ConnectedMachine.custom\Connect-AzConnectedMachine';
}
if (('__AllParameterSets') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -165,6 +172,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedExtensionMetadata.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedExtensionMetadata.ps1
index 200053c9b4a3..0aec77d0e8de 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedExtensionMetadata.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedExtensionMetadata.ps1
@@ -122,6 +122,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -144,8 +153,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedExtensionMetadata_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -159,6 +166,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicense.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicense.ps1
index fea91c1fdd74..b08f51fcdbdf 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicense.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicense.ps1
@@ -113,6 +113,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -136,8 +145,6 @@ begin {
List1 = 'Az.ConnectedMachine.private\Get-AzConnectedLicense_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -151,6 +158,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicenseProfile.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicenseProfile.ps1
index ed06ff062f4f..58d88d3df31c 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicenseProfile.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedLicenseProfile.ps1
@@ -109,6 +109,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -131,8 +140,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedLicenseProfile_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -146,6 +153,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachine.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachine.ps1
index a66a99418d58..6a9f53028761 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachine.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachine.ps1
@@ -122,6 +122,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -145,8 +154,6 @@ begin {
List1 = 'Az.ConnectedMachine.private\Get-AzConnectedMachine_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -160,6 +167,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineExtension.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineExtension.ps1
index eba05e800573..e5e5453eb06b 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineExtension.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineExtension.ps1
@@ -123,6 +123,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -145,8 +154,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedMachineExtension_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -160,6 +167,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1
index f620c4c693d4..7279ba861622 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedMachineRunCommand.ps1
@@ -122,6 +122,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -144,8 +153,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedMachineRunCommand_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -159,6 +166,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedNetworkSecurityPerimeterConfiguration.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedNetworkSecurityPerimeterConfiguration.ps1
index da7c57542d97..ca8d9c9d4d7f 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedNetworkSecurityPerimeterConfiguration.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedNetworkSecurityPerimeterConfiguration.ps1
@@ -115,6 +115,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -137,8 +146,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedNetworkSecurityPerimeterConfiguration_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -152,6 +159,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedPrivateLinkScope.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedPrivateLinkScope.ps1
index ca4a496c5d55..a9f89f14ba36 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedPrivateLinkScope.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Get-AzConnectedPrivateLinkScope.ps1
@@ -112,6 +112,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -135,8 +144,6 @@ begin {
List1 = 'Az.ConnectedMachine.private\Get-AzConnectedPrivateLinkScope_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -150,6 +157,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1
index 552ce350c903..a673914e519d 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Install-AzConnectedMachinePatch.ps1
@@ -284,6 +284,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -310,8 +319,6 @@ begin {
InstallViaJsonString = 'Az.ConnectedMachine.private\Install-AzConnectedMachinePatch_InstallViaJsonString';
}
if (('Install', 'InstallExpanded', 'InstallViaJsonFilePath', 'InstallViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -325,6 +332,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1
index 1b85fdb77124..7749f661fac8 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedAssessMachinePatch.ps1
@@ -159,6 +159,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -181,8 +190,6 @@ begin {
AssessViaIdentity = 'Az.ConnectedMachine.private\Invoke-AzConnectedAssessMachinePatch_AssessViaIdentity';
}
if (('Assess') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -196,6 +203,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1
index f6a7d624d930..1c977bd60ded 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration.ps1
@@ -200,6 +200,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -223,8 +232,6 @@ begin {
ReconcileViaIdentityPrivateLinkScope = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope';
}
if (('Reconcile') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -238,6 +245,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1
index 78a736469791..7042f9718eeb 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicense.ps1
@@ -65,7 +65,7 @@ LICENSEDETAILVOLUMELICENSEDETAIL : A list of volume lic
[ProgramYear ]: Describes the program year the volume license is for.
PARAMETER : Describes a license in a hybrid machine.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[DetailEdition ]: Describes the edition of the license. The values are either Standard or Datacenter.
@@ -290,6 +290,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -316,8 +325,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedLicense_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -331,6 +338,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseDetail.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseDetail.ps1
index 5719b0900044..fe461e014725 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseDetail.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseDetail.ps1
@@ -89,6 +89,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -116,6 +119,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfile.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfile.ps1
index b55da11e5848..1dc5d92eab32 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfile.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfile.ps1
@@ -63,7 +63,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : Describes a license profile in a hybrid machine.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[EsuProfileAssignedLicense ]: The resource id of the license.
@@ -263,6 +263,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -289,8 +298,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedLicenseProfile_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -304,6 +311,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfileFeature.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfileFeature.ps1
index 26cdf64e4cff..554310f7d8e6 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfileFeature.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedLicenseProfileFeature.ps1
@@ -54,6 +54,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -81,6 +84,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1
index 90a6ed9ed2a7..73efe41b0d2d 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineExtension.ps1
@@ -47,7 +47,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
EXTENSIONPARAMETER : Describes a Machine Extension.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AutoUpgradeMinorVersion ]: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
@@ -425,6 +425,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -453,8 +462,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedMachineExtension_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -468,6 +475,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1
index f87fdb96c975..d7ad99db13b3 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedMachineRunCommand.ps1
@@ -96,7 +96,7 @@ PROTECTEDPARAMETER : The parameters used by the scr
Value : The run command parameter value.
RUNCOMMANDPROPERTY : Describes a Run Command
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
@@ -438,6 +438,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -466,8 +475,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -481,6 +488,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1
index 2f335d0ca26c..faa38fb69251 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/New-AzConnectedPrivateLinkScope.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-create (or create a Azure Arc PrivateLinkScope.
+Create (or create a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Description
-create (or create a Azure Arc PrivateLinkScope.
+Create (or create a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Example
New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName -PublicNetworkAccess "Enabled" -Location $location
@@ -63,7 +63,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : An Azure Arc PrivateLinkScope definition.
- Location : Resource location
+ [Location ]: Resource location
[Tags ]: Resource tags
[(Any) ]: This indicates any property can be added to this object.
[PublicNetworkAccess ]: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
@@ -211,6 +211,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -237,8 +246,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -252,6 +259,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1
index 61b7d9ee7047..72619d30f931 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -122,6 +122,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -144,8 +153,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedExtensionMetadata_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -159,6 +166,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -297,6 +307,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -319,8 +338,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedLicenseProfile_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -334,6 +351,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -476,6 +496,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -499,8 +528,6 @@ begin {
List1 = 'Az.ConnectedMachine.private\Get-AzConnectedLicense_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -514,6 +541,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -666,6 +696,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -688,8 +727,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedMachineExtension_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -703,6 +740,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -854,6 +894,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -876,8 +925,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedMachineRunCommand_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -891,6 +938,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1042,6 +1092,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1065,8 +1124,6 @@ begin {
List1 = 'Az.ConnectedMachine.private\Get-AzConnectedMachine_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1080,6 +1137,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1224,6 +1284,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1246,8 +1315,6 @@ begin {
List = 'Az.ConnectedMachine.private\Get-AzConnectedNetworkSecurityPerimeterConfiguration_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1261,6 +1328,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1402,6 +1472,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1425,8 +1504,6 @@ begin {
List1 = 'Az.ConnectedMachine.private\Get-AzConnectedPrivateLinkScope_List1';
}
if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1440,6 +1517,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1753,6 +1833,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -1779,8 +1868,6 @@ begin {
InstallViaJsonString = 'Az.ConnectedMachine.private\Install-AzConnectedMachinePatch_InstallViaJsonString';
}
if (('Install', 'InstallExpanded', 'InstallViaJsonFilePath', 'InstallViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -1794,6 +1881,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -1982,6 +2072,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2004,8 +2103,6 @@ begin {
AssessViaIdentity = 'Az.ConnectedMachine.private\Invoke-AzConnectedAssessMachinePatch_AssessViaIdentity';
}
if (('Assess') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2019,6 +2116,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2248,6 +2348,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2271,8 +2380,6 @@ begin {
ReconcileViaIdentityPrivateLinkScope = 'Az.ConnectedMachine.private\Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration_ReconcileViaIdentityPrivateLinkScope';
}
if (('Reconcile') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2286,6 +2393,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2378,7 +2488,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : Describes a license profile in a hybrid machine.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[EsuProfileAssignedLicense ]: The resource id of the license.
@@ -2578,6 +2688,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2604,8 +2723,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedLicenseProfile_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2619,6 +2736,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -2713,7 +2833,7 @@ LICENSEDETAILVOLUMELICENSEDETAIL : A list of volume lic
[ProgramYear ]: Describes the program year the volume license is for.
PARAMETER : Describes a license in a hybrid machine.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[DetailEdition ]: Describes the edition of the license. The values are either Standard or Datacenter.
@@ -2938,6 +3058,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -2964,8 +3093,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedLicense_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -2979,6 +3106,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3055,7 +3185,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
EXTENSIONPARAMETER : Describes a Machine Extension.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AutoUpgradeMinorVersion ]: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
@@ -3433,6 +3563,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3461,8 +3600,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedMachineExtension_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3476,6 +3613,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -3601,7 +3741,7 @@ PROTECTEDPARAMETER : The parameters used by the scr
Value : The run command parameter value.
RUNCOMMANDPROPERTY : Describes a Run Command
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
@@ -3943,6 +4083,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -3971,8 +4120,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedMachineRunCommand_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -3986,6 +4133,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4031,10 +4181,10 @@ end {
<#
.Synopsis
-create (or create a Azure Arc PrivateLinkScope.
+Create (or create a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Description
-create (or create a Azure Arc PrivateLinkScope.
+Create (or create a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Example
New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName -PublicNetworkAccess "Enabled" -Location $location
@@ -4078,7 +4228,7 @@ INPUTOBJECT : Identity Parameter
[Version ]: The version of the Extension being received.
PARAMETER : An Azure Arc PrivateLinkScope definition.
- Location : Resource location
+ [Location ]: Resource location
[Tags ]: Resource tags
[(Any) ]: This indicates any property can be added to this object.
[PublicNetworkAccess ]: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
@@ -4226,6 +4376,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4252,8 +4411,6 @@ begin {
CreateViaJsonString = 'Az.ConnectedMachine.private\New-AzConnectedPrivateLinkScope_CreateViaJsonString';
}
if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4267,6 +4424,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4462,6 +4622,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4484,8 +4653,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedLicenseProfile_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4499,6 +4666,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4695,6 +4865,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4717,8 +4896,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedLicense_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -4732,6 +4909,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -4969,6 +5149,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -4992,8 +5181,6 @@ begin {
DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_DeleteViaIdentityMachine';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5007,6 +5194,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5243,6 +5433,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5266,8 +5465,6 @@ begin {
DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_DeleteViaIdentityMachine';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5281,6 +5478,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5467,6 +5667,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5489,8 +5698,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachine_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5504,6 +5711,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5699,6 +5909,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -5721,8 +5940,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedPrivateLinkScope_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -5736,6 +5953,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -5801,7 +6021,7 @@ LICENSEDETAILVOLUMELICENSEDETAIL : A list of volume lic
[ProgramYear ]: Describes the program year the volume license is for.
PARAMETER : Describes a license in a hybrid machine.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[DetailEdition ]: Describes the edition of the license. The values are either Standard or Datacenter.
@@ -5999,6 +6219,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6023,8 +6252,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedLicense_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6038,6 +6265,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6103,7 +6333,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
EXTENSIONPARAMETER : Describes a Machine Extension.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AutoUpgradeMinorVersion ]: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
@@ -6361,6 +6591,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6385,8 +6624,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedMachineExtension_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6400,6 +6637,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6445,10 +6685,10 @@ end {
<#
.Synopsis
-update (or update a Azure Arc PrivateLinkScope.
+Update (or update a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Description
-update (or update a Azure Arc PrivateLinkScope.
+Update (or update a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Example
Set-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName -PublicNetworkAccess "Disabled" -Tag $tags -Location $location
@@ -6463,7 +6703,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
PARAMETER : An Azure Arc PrivateLinkScope definition.
- Location : Resource location
+ [Location ]: Resource location
[Tags ]: Resource tags
[(Any) ]: This indicates any property can be added to this object.
[PublicNetworkAccess ]: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
@@ -6591,6 +6831,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6615,8 +6864,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6630,6 +6877,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -6865,6 +7115,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -6890,8 +7149,6 @@ begin {
UpgradeViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaJsonString';
}
if (('UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -6905,6 +7162,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7188,6 +7448,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7214,8 +7483,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedLicenseProfile_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7229,6 +7496,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7615,6 +7885,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -7643,8 +7922,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -7658,6 +7935,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -7784,7 +8064,7 @@ PROTECTEDPARAMETER : The parameters used by the scr
Value : The run command parameter value.
RUNCOMMANDPROPERTY : Describes a Run Command
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
@@ -8097,6 +8377,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8123,8 +8412,6 @@ begin {
UpdateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded';
}
if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8138,6 +8425,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8183,10 +8473,10 @@ end {
<#
.Synopsis
-update an existing PrivateLinkScope's tags.
+Update an existing PrivateLinkScope's tags.
To update other fields use the CreateOrupdate method.
.Description
-update an existing PrivateLinkScope's tags.
+Update an existing PrivateLinkScope's tags.
To update other fields use the CreateOrupdate method.
.Example
$tag = @{ "Tag1" = "Value1" }
@@ -8361,6 +8651,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8387,8 +8686,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedPrivateLinkScopeTag_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8402,6 +8699,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8560,6 +8860,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8581,8 +8890,6 @@ begin {
__AllParameterSets = 'Az.ConnectedMachine.custom\Connect-AzConnectedMachine';
}
if (('__AllParameterSets') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -8596,6 +8903,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8714,6 +9024,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8741,6 +9054,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8824,6 +9140,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8851,6 +9170,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -8934,6 +9256,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -8961,6 +9286,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
@@ -9301,6 +9629,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -9327,8 +9664,6 @@ begin {
UpdateViaIdentity = 'Az.ConnectedMachine.custom\Update-AzConnectedMachine';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath', 'Update') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -9342,6 +9677,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1
index b03941987968..84fa3175c9a0 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicense.ps1
@@ -167,6 +167,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -189,8 +198,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedLicense_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -204,6 +211,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicenseProfile.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicenseProfile.ps1
index e22667e86301..a7da162dcdd5 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicenseProfile.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedLicenseProfile.ps1
@@ -166,6 +166,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -188,8 +197,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedLicenseProfile_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -203,6 +210,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1
index 4de9caa83cfc..390496db35f6 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachine.ps1
@@ -157,6 +157,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -179,8 +188,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedMachine_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -194,6 +201,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1
index 5ea25e49d9cc..66d6d0f1529e 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineExtension.ps1
@@ -208,6 +208,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -231,8 +240,6 @@ begin {
DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineExtension_DeleteViaIdentityMachine';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -246,6 +253,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1
index 93fcef84ed1f..4d6f9b5be408 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedMachineRunCommand.ps1
@@ -207,6 +207,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -230,8 +239,6 @@ begin {
DeleteViaIdentityMachine = 'Az.ConnectedMachine.private\Remove-AzConnectedMachineRunCommand_DeleteViaIdentityMachine';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -245,6 +252,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1
index b6eb1a8d5a31..dc2e32ba7c29 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Remove-AzConnectedPrivateLinkScope.ps1
@@ -166,6 +166,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -188,8 +197,6 @@ begin {
DeleteViaIdentity = 'Az.ConnectedMachine.private\Remove-AzConnectedPrivateLinkScope_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -203,6 +210,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedLicense.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedLicense.ps1
index 531153c6a2e0..fb4a24a748ed 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedLicense.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedLicense.ps1
@@ -36,7 +36,7 @@ LICENSEDETAILVOLUMELICENSEDETAIL : A list of volume lic
[ProgramYear ]: Describes the program year the volume license is for.
PARAMETER : Describes a license in a hybrid machine.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[DetailEdition ]: Describes the edition of the license. The values are either Standard or Datacenter.
@@ -234,6 +234,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -258,8 +267,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedLicense_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -273,6 +280,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedMachineExtension.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedMachineExtension.ps1
index 28f11e5ecce7..0fc28016e417 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedMachineExtension.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedMachineExtension.ps1
@@ -36,7 +36,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
EXTENSIONPARAMETER : Describes a Machine Extension.
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AutoUpgradeMinorVersion ]: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
@@ -294,6 +294,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -318,8 +327,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedMachineExtension_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -333,6 +340,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedPrivateLinkScope.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedPrivateLinkScope.ps1
index cfda1f03b9a7..20e34c82191f 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedPrivateLinkScope.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Set-AzConnectedPrivateLinkScope.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-update (or update a Azure Arc PrivateLinkScope.
+Update (or update a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Description
-update (or update a Azure Arc PrivateLinkScope.
+Update (or update a Azure Arc PrivateLinkScope.
Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
.Example
Set-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName -ScopeName $scopeName -PublicNetworkAccess "Disabled" -Tag $tags -Location $location
@@ -34,7 +34,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
PARAMETER : An Azure Arc PrivateLinkScope definition.
- Location : Resource location
+ [Location ]: Resource location
[Tags ]: Resource tags
[(Any) ]: This indicates any property can be added to this object.
[PublicNetworkAccess ]: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
@@ -162,6 +162,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -186,8 +195,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Set-AzConnectedPrivateLinkScope_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -201,6 +208,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1
index 7774a89916db..dbc692d04555 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedExtension.ps1
@@ -206,6 +206,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -231,8 +240,6 @@ begin {
UpgradeViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedExtension_UpgradeViaJsonString';
}
if (('UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -246,6 +253,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfile.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfile.ps1
index 2322695289db..7e8b9d72e428 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfile.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfile.ps1
@@ -254,6 +254,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -280,8 +289,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedLicenseProfile_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -295,6 +302,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfileFeature.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfileFeature.ps1
index 26de1657e21f..f269775d2f52 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfileFeature.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedLicenseProfileFeature.ps1
@@ -54,6 +54,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -81,6 +84,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1
index f7806cd0d7d6..b971db52bcd7 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachine.ps1
@@ -311,6 +311,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -337,8 +346,6 @@ begin {
UpdateViaIdentity = 'Az.ConnectedMachine.custom\Update-AzConnectedMachine';
}
if (('UpdateExpanded', 'UpdateViaJsonString', 'UpdateViaJsonFilePath', 'Update') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -352,6 +359,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1
index b69e5774dd67..d66c28ac6090 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineExtension.ps1
@@ -357,6 +357,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -385,8 +394,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedMachineExtension_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -400,6 +407,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1
index 499c1fd28856..911287a6e644 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedMachineRunCommand.ps1
@@ -97,7 +97,7 @@ PROTECTEDPARAMETER : The parameters used by the scr
Value : The run command parameter value.
RUNCOMMANDPROPERTY : Describes a Run Command
- Location : The geo-location where the resource lives
+ [Location ]: The geo-location where the resource lives
[Tags ]: Resource tags.
[(Any) ]: This indicates any property can be added to this object.
[AsyncExecution ]: Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
@@ -410,6 +410,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -436,8 +445,6 @@ begin {
UpdateViaIdentityMachineExpanded = 'Az.ConnectedMachine.private\Update-AzConnectedMachineRunCommand_UpdateViaIdentityMachineExpanded';
}
if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -451,6 +458,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1 b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1
index 1b6bfc50a447..71ac54996025 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/exports/Update-AzConnectedPrivateLinkScopeTag.ps1
@@ -16,10 +16,10 @@
<#
.Synopsis
-update an existing PrivateLinkScope's tags.
+Update an existing PrivateLinkScope's tags.
To update other fields use the CreateOrupdate method.
.Description
-update an existing PrivateLinkScope's tags.
+Update an existing PrivateLinkScope's tags.
To update other fields use the CreateOrupdate method.
.Example
$tag = @{ "Tag1" = "Value1" }
@@ -194,6 +194,15 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
@@ -220,8 +229,6 @@ begin {
UpdateViaJsonString = 'Az.ConnectedMachine.private\Update-AzConnectedPrivateLinkScopeTag_UpdateViaJsonString';
}
if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
if ($testPlayback) {
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
} else {
@@ -235,6 +242,9 @@ begin {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
$steppablePipeline.Begin($PSCmdlet)
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs
index c7c7ce51368e..891bc93a40d5 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/ConnectedMachine.cs
@@ -1629,13 +1629,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -1786,13 +1786,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -2058,13 +2058,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -4613,13 +4613,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -4770,13 +4770,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -5048,13 +5048,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -6211,13 +6211,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -6368,13 +6368,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -6845,13 +6845,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -7002,13 +7002,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -7274,13 +7274,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -8690,13 +8690,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -8847,13 +8847,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -9294,13 +9294,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -9452,13 +9452,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -9943,13 +9943,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -10100,13 +10100,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -10382,13 +10382,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -11567,13 +11567,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -11724,13 +11724,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -12225,13 +12225,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -12379,13 +12379,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -12657,13 +12657,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -13703,13 +13703,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -13858,13 +13858,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -14862,13 +14862,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -15017,13 +15017,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -18755,13 +18755,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
@@ -18915,13 +18915,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -19696,13 +19696,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -19855,13 +19855,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -20135,13 +20135,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -22247,13 +22247,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
@@ -26032,13 +26032,13 @@ public partial class ConnectedMachine
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.ConnectedMachine.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; }
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; }
_response = await sendTask;
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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");
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AccessRule.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AccessRule.cs
index 0c930d79889b..04641f7027f1 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AccessRule.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/AccessRule.cs
@@ -22,10 +22,10 @@ public partial class AccessRule :
public string Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).Direction; }
/// Internal Acessors for AddressPrefix
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRuleInternal.AddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).AddressPrefix = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRuleInternal.AddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).AddressPrefix = value ?? null /* arrayOf */; }
/// Internal Acessors for Direction
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRuleInternal.Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).Direction; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).Direction = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRuleInternal.Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).Direction; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRulePropertiesInternal)Property).Direction = value ?? null; }
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRuleInternal.Name { get => this._name; set { {_name = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponse.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponse.cs
index 484c7efb11af..27b7d9e1b293 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponse.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponse.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponse :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
index df7cba0bfce2..ed09c6fd3b75 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs
@@ -40,22 +40,22 @@ public partial class ErrorResponseAutoGenerated :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for Error
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGenerated Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetailAutoGenerated()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailAutoGeneratedInternal)Error).Target = value ?? null; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ExtensionValue.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ExtensionValue.cs
index 804c10927ec9..e8e81d3490f7 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ExtensionValue.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/ExtensionValue.cs
@@ -30,28 +30,46 @@ public partial class ExtensionValue :
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Id; }
/// Internal Acessors for ExtensionType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueInternal.ExtensionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).ExtensionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).ExtensionType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueInternal.ExtensionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).ExtensionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).ExtensionType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ExtensionValueProperties()); set { {_property = value;} } }
/// Internal Acessors for Publisher
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Publisher = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Publisher = value ?? null; }
/// Internal Acessors for Version
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Version = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValueInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IExtensionValuePropertiesInternal)Property).Version = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -76,31 +94,31 @@ public partial class ExtensionValue :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__proxyResource).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs
index 8dbc99573de1..49daba3b40ea 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Gateway.cs
@@ -43,31 +43,49 @@ public partial class Gateway :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Location = value ?? null; }
/// Internal Acessors for Endpoint
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.Endpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayEndpoint = value ?? null; }
/// Internal Acessors for GatewayId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.GatewayId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.GatewayId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).GatewayId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.GatewayProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IGatewayPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -92,31 +110,31 @@ public partial class Gateway :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAutoGeneratedInternal)__trackedResourceAutoGenerated).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs
index 4a527fb8c767..b693ecceba3d 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridComputePrivateLinkScope.cs
@@ -27,31 +27,49 @@ public partial class HybridComputePrivateLinkScope :
/// Resource location
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Location = value ?? null; }
/// Internal Acessors for PrivateEndpointConnection
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateEndpointConnection = value ?? null /* arrayOf */; }
/// Internal Acessors for PrivateLinkScopeId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.PrivateLinkScopeId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.PrivateLinkScopeId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).PrivateLinkScopeId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridComputePrivateLinkScopeProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.SystemData()); set { {_systemData = value;} } }
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridComputePrivateLinkScopeInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Name = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPrivateLinkScopesResourceInternal)__privateLinkScopesResource).Type = value ?? null; }
/// Azure resource name
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -108,32 +126,32 @@ public partial class HybridComputePrivateLinkScope :
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).CreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemDataInternal)SystemData).LastModifiedByType; }
/// Resource tags
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs
index 8d5577d0819c..b3519958d902 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadata.cs
@@ -35,31 +35,52 @@ public partial class HybridIdentityMetadata :
/// The identity type.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType = value ?? null; }
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; }
/// Internal Acessors for Identity
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity = value ?? null /* model class */; }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId = value ?? null; }
+
+ /// Internal Acessors for IdentityType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HybridIdentityMetadataProperties()); set { {_property = value;} } }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -84,31 +105,31 @@ public partial class HybridIdentityMetadata :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; }
///
/// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs
index fbffe34d956b..861dacc1d97d 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs
@@ -30,16 +30,19 @@ public partial class HybridIdentityMetadataProperties :
/// The identity type.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).Type = value ?? null; }
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).Type; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
+
+ /// Internal Acessors for IdentityType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHybridIdentityMetadataPropertiesInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).Type = value ?? null; }
/// Backing field for property.
private string _publicKey;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/IPAddress.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/IPAddress.cs
index 2629278335f7..626514fca928 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/IPAddress.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/IPAddress.cs
@@ -23,6 +23,9 @@ public partial class IPAddress :
/// Internal Acessors for Subnet
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISubnet Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIPAddressInternal.Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Subnet()); set { {_subnet = value;} } }
+ /// Internal Acessors for SubnetAddressPrefix
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIPAddressInternal.SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISubnetInternal)Subnet).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISubnetInternal)Subnet).AddressPrefix = value ?? null; }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISubnet _subnet;
@@ -32,7 +35,7 @@ public partial class IPAddress :
/// Represents address prefix.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISubnetInternal)Subnet).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISubnetInternal)Subnet).AddressPrefix = value ?? null; }
+ public string SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISubnetInternal)Subnet).AddressPrefix; }
/// Backing field for property.
private string _version;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/KeyProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/KeyProperties.cs
index 28a76b53039d..d96e963c1d89 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/KeyProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/KeyProperties.cs
@@ -55,25 +55,25 @@ public partial class KeyProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.CandidatePublicKey { get => (this._candidatePublicKey = this._candidatePublicKey ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetails()); set { {_candidatePublicKey = value;} } }
/// Internal Acessors for CandidatePublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).NotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for CandidatePublicKeyPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.CandidatePublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.CandidatePublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).PublicKey = value ?? null; }
/// Internal Acessors for CandidatePublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)CandidatePublicKey).RenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKey
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.ClientPublicKey { get => (this._clientPublicKey = this._clientPublicKey ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyDetails()); set { {_clientPublicKey = value;} } }
/// Internal Acessors for ClientPublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).NotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKeyPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.ClientPublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.ClientPublicKeyPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).PublicKey = value ?? null; }
/// Internal Acessors for ClientPublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetailsInternal)ClientPublicKey).RenewAfter = value ?? default(global::System.DateTime); }
/// Creates an new instance.
public KeyProperties()
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/License.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/License.cs
index 1fba3a871f34..b279056461cc 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/License.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/License.cs
@@ -65,34 +65,52 @@ public partial class License :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for Detail
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetail = value ?? null /* model class */; }
/// Internal Acessors for DetailAssignedLicense
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.DetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.DetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailAssignedLicense = value ?? default(int); }
/// Internal Acessors for DetailImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.DetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.DetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).LicenseDetailImmutableId = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -117,31 +135,31 @@ public partial class License :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfile.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfile.cs
index 2c4eadb9459d..a757c39df6b7 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfile.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfile.cs
@@ -63,83 +63,101 @@ public partial class LicenseProfile :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// The error message.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfile = value ?? null /* model class */; }
/// Internal Acessors for EsuProfileAssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileAssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuProfileEsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuEligibility = value ?? null; }
/// Internal Acessors for EsuProfileEsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKey = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfileEsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileEsuKeyState = value ?? null; }
/// Internal Acessors for EsuProfileServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).EsuProfileServerType = value ?? null; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Message = value ?? null; }
/// Internal Acessors for ProductProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfile = value ?? null /* model class */; }
/// Internal Acessors for ProductProfileBillingEndDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingEndDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileBillingStartDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileBillingStartDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileDisenrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileDisenrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileEnrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileEnrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileError
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProductProfileError = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfileProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for SoftwareAssurance
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).SoftwareAssurance = value ?? null /* model class */; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal)Property).Target = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -198,31 +216,31 @@ public partial class LicenseProfile :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs
index f5ed7815a5a2..736326eb1a0a 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuProperties.cs
@@ -43,19 +43,19 @@ public partial class LicenseProfileArmEsuProperties :
public string EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; }
/// Internal Acessors for EsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value ?? null; }
/// Internal Acessors for ServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value ?? null; }
/// Internal Acessors for AssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value ?? null /* arrayOf */; }
/// The type of the Esu servers.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs
index 1f115df92fc5..fccafbf14717 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmEsuPropertiesWithoutAssignedLicense.cs
@@ -51,10 +51,10 @@ public partial class LicenseProfileArmEsuPropertiesWithoutAssignedLicense :
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => this._serverType; set { {_serverType = value;} } }
/// Internal Acessors for AssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileStorageModelEsuProperties).EsuKey = value ?? null /* arrayOf */; }
/// Backing field for property.
private string _serverType;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs
index b780acb9442c..9ac0cc96a540 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileArmProductProfileProperties.cs
@@ -67,7 +67,7 @@ public partial class LicenseProfileArmProductProfileProperties :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for BillingEndDate
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.BillingEndDate { get => this._billingEndDate; set { {_billingEndDate = value;} } }
@@ -76,10 +76,10 @@ public partial class LicenseProfileArmProductProfileProperties :
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.BillingStartDate { get => this._billingStartDate; set { {_billingStartDate = value;} } }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for DisenrollmentDate
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.DisenrollmentDate { get => this._disenrollmentDate; set { {_disenrollmentDate = value;} } }
@@ -91,10 +91,10 @@ public partial class LicenseProfileArmProductProfileProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetail()); set { {_error = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Message = value ?? null; }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)Error).Target = value ?? null; }
/// Backing field for property.
private System.Collections.Generic.List _productFeature;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs
index dbccde5b65ec..1e2e76c733c7 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceView.cs
@@ -79,31 +79,31 @@ public partial class LicenseProfileMachineInstanceView :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfile { get => (this._esuProfile = this._esuProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfileMachineInstanceViewEsuProperties()); set { {_esuProfile = value;} } }
/// Internal Acessors for EsuProfileAssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuProfileEsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuProfileEsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfileEsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value ?? null; }
/// Internal Acessors for EsuProfileServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value ?? null; }
/// Internal Acessors for LicenseChannel
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.LicenseChannel { get => this._licenseChannel; set { {_licenseChannel = value;} } }
@@ -112,31 +112,43 @@ public partial class LicenseProfileMachineInstanceView :
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.LicenseStatus { get => this._licenseStatus; set { {_licenseStatus = value;} } }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value ?? null; }
/// Internal Acessors for ProductProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfile { get => (this._productProfile = this._productProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfileArmProductProfileProperties()); set { {_productProfile = value;} } }
/// Internal Acessors for ProductProfileBillingEndDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileBillingStartDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileDisenrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileEnrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileError
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value ?? null /* model class */; }
+
+ /// Internal Acessors for ProductProfileProductFeature
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileProductFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for ProductProfileProductType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileProductType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType = value ?? null; }
+
+ /// Internal Acessors for ProductProfileSubscriptionStatus
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.ProductProfileSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus = value ?? null; }
/// Internal Acessors for SoftwareAssurance
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.SoftwareAssurance { get => (this._softwareAssurance = this._softwareAssurance ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfileMachineInstanceViewSoftwareAssurance()); set { {_softwareAssurance = value;} } }
+ /// Internal Acessors for SoftwareAssuranceCustomer
+ bool? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.SoftwareAssuranceCustomer { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer = value ?? default(bool); }
+
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfileProperties _productProfile;
@@ -163,15 +175,15 @@ public partial class LicenseProfileMachineInstanceView :
/// The list of product features.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List ProductProfileProductFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List ProductProfileProductFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductFeature; }
/// Indicates the product type of the license.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string ProductProfileProductType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType = value ?? null; }
+ public string ProductProfileProductType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).ProductType; }
/// Indicates the subscription status of the product.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string ProductProfileSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus = value ?? null; }
+ public string ProductProfileSubscriptionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).SubscriptionStatus; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewSoftwareAssurance _softwareAssurance;
@@ -183,7 +195,7 @@ public partial class LicenseProfileMachineInstanceView :
/// Specifies if this machine is licensed as part of a Software Assurance agreement.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public bool? SoftwareAssuranceCustomer { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer = value ?? default(bool); }
+ public bool? SoftwareAssuranceCustomer { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileMachineInstanceViewSoftwareAssuranceInternal)SoftwareAssurance).SoftwareAssuranceCustomer; }
/// The error target.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs
index a92428ce1d2f..58224929aae1 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileMachineInstanceViewEsuProperties.cs
@@ -50,19 +50,19 @@ public partial class LicenseProfileMachineInstanceViewEsuProperties :
public string LicenseAssignmentState { get => this._licenseAssignmentState; set => this._licenseAssignmentState = value; }
/// Internal Acessors for EsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.EsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKeyState = value ?? null; }
/// Internal Acessors for ServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal.ServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).ServerType = value ?? null; }
/// Internal Acessors for AssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.AssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal.EsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)__licenseProfileArmEsuPropertiesWithoutAssignedLicense).EsuKey = value ?? null /* arrayOf */; }
/// The type of the Esu servers.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileProperties.cs
index 9796947ad351..0a91ecebe3cc 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileProperties.cs
@@ -61,52 +61,52 @@ public partial class LicenseProfileProperties :
public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; }
/// Internal Acessors for AdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for Code
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Code = value ?? null; }
/// Internal Acessors for Detail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfile { get => (this._esuProfile = this._esuProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfileArmEsuProperties()); set { {_esuProfile = value;} } }
/// Internal Acessors for EsuProfileAssignedLicenseImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileAssignedLicenseImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).AssignedLicenseImmutableId = value ?? null; }
/// Internal Acessors for EsuProfileEsuEligibility
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuEligibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuEligibility = value ?? null; }
/// Internal Acessors for EsuProfileEsuKey
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileStorageModelEsuPropertiesInternal)EsuProfile).EsuKey = value ?? null /* arrayOf */; }
/// Internal Acessors for EsuProfileEsuKeyState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileEsuKeyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).EsuKeyState = value ?? null; }
/// Internal Acessors for EsuProfileServerType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.EsuProfileServerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmEsuPropertiesWithoutAssignedLicenseInternal)EsuProfile).ServerType = value ?? null; }
/// Internal Acessors for Message
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Message = value ?? null; }
/// Internal Acessors for ProductProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfileProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfile { get => (this._productProfile = this._productProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfileArmProductProfileProperties()); set { {_productProfile = value;} } }
/// Internal Acessors for ProductProfileBillingEndDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingEndDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingEndDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileBillingStartDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileBillingStartDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).BillingStartDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileDisenrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileDisenrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).DisenrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileEnrollmentDate
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileEnrollmentDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).EnrollmentDate = value ?? default(global::System.DateTime); }
/// Internal Acessors for ProductProfileError
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProductProfileError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Error = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -115,7 +115,7 @@ public partial class LicenseProfileProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.SoftwareAssurance { get => (this._softwareAssurance = this._softwareAssurance ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfilePropertiesSoftwareAssurance()); set { {_softwareAssurance = value;} } }
/// Internal Acessors for Target
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfilePropertiesInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfilePropertiesInternal)ProductProfile).Target = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileArmProductProfileProperties _productProfile;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileUpdate.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileUpdate.cs
index 72cb9e528446..478f95f674bb 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileUpdate.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProfileUpdate.cs
@@ -24,16 +24,16 @@ public partial class LicenseProfileUpdate :
public string EsuProfileAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfileAssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfileAssignedLicense = value ?? null; }
/// Internal Acessors for EsuProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IEsuProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IEsuProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateInternal.EsuProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).EsuProfile = value ?? null /* model class */; }
/// Internal Acessors for ProductProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProductProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IProductProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateInternal.ProductProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).ProductProfile = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseProfileUpdateProperties()); set { {_property = value;} } }
/// Internal Acessors for SoftwareAssurance
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesSoftwareAssurance Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdateInternal.SoftwareAssurance { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseProfileUpdatePropertiesInternal)Property).SoftwareAssurance = value ?? null /* model class */; }
/// The list of product feature updates.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProperties.cs
index 9129ab39e0c4..126af12b4bad 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseProperties.cs
@@ -65,10 +65,10 @@ public partial class LicenseProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal.LicenseDetail { get => (this._licenseDetail = this._licenseDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseDetails()); set { {_licenseDetail = value;} } }
/// Internal Acessors for LicenseDetailAssignedLicense
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal.LicenseDetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal.LicenseDetailAssignedLicense { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).AssignedLicense = value ?? default(int); }
/// Internal Acessors for LicenseDetailImmutableId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal.LicenseDetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal.LicenseDetailImmutableId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseDetailsInternal)LicenseDetail).ImmutableId = value ?? null; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicensePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseUpdate.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseUpdate.cs
index 8ba34e152120..13623e6e1a5b 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseUpdate.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/LicenseUpdate.cs
@@ -46,7 +46,7 @@ public partial class LicenseUpdate :
public string LicenseType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesInternal)Property).LicenseType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesInternal)Property).LicenseType = value ?? null; }
/// Internal Acessors for LicenseDetail
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesLicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdateInternal.LicenseDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesLicenseDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdateInternal.LicenseDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdatePropertiesInternal)Property).LicenseDetail = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILicenseUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LicenseUpdateProperties()); set { {_property = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Machine.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Machine.cs
index 62f52f80c4fe..f33bc3b15633 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Machine.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/Machine.cs
@@ -252,7 +252,7 @@ public partial class Machine :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// The city or locality where the resource is located.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
@@ -275,166 +275,190 @@ public partial class Machine :
public string LocationDataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LocationDataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LocationDataName = value ?? null; }
/// Internal Acessors for AdFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AdFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AdFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AdFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AdFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AdFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AdFqdn = value ?? null; }
/// Internal Acessors for AgentConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfiguration = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfiguration = value ?? null /* model class */; }
/// Internal Acessors for AgentConfigurationConfigMode
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode = value ?? null; }
/// Internal Acessors for AgentConfigurationExtensionsAllowList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsBlockList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationGuestConfigurationEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationIncomingConnectionsPort
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyBypass
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyUrl
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl = value ?? null; }
/// Internal Acessors for AgentUpgrade
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgrade = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgrade = value ?? null /* model class */; }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value ?? null; }
/// Internal Acessors for AgentVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).AgentVersion = value ?? null; }
/// Internal Acessors for CloudMetadata
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadata = value ?? null /* model class */; }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider = value ?? null; }
/// Internal Acessors for DetectedProperty
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DetectedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DetectedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DetectedProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DetectedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DetectedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DetectedProperty = value ?? null /* model class */; }
/// Internal Acessors for DisplayName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DisplayName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DisplayName = value ?? null; }
/// Internal Acessors for DnsFqdn
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DnsFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DnsFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DnsFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DnsFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DnsFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DnsFqdn = value ?? null; }
/// Internal Acessors for DomainName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DomainName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).DomainName = value ?? null; }
/// Internal Acessors for ErrorDetail
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ErrorDetail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ErrorDetail = value ?? null /* arrayOf */; }
/// Internal Acessors for FirmwareProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.FirmwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.FirmwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfile = value ?? null /* model class */; }
/// Internal Acessors for FirmwareProfileSerialNumber
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileSerialNumber = value ?? null; }
/// Internal Acessors for FirmwareProfileType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileType = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).FirmwareProfileType = value ?? null; }
/// Internal Acessors for Fqdn
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).MachineFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).MachineFqdn = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).MachineFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).MachineFqdn = value ?? null; }
/// Internal Acessors for HardwareProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfile = value ?? null /* model class */; }
/// Internal Acessors for HardwareProfileNumberOfCpuSocket
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileNumberOfCpuSocket = value ?? default(int); }
/// Internal Acessors for HardwareProfileProcessor
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileProcessor = value ?? null /* arrayOf */; }
/// Internal Acessors for HardwareProfileTotalPhysicalMemoryInByte
- long? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).HardwareProfileTotalPhysicalMemoryInByte = value ?? default(long); }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LastStatusChange
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.LastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LastStatusChange = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.LastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LastStatusChange = value ?? default(global::System.DateTime); }
/// Internal Acessors for LocationData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LocationData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).LocationData = value ?? null /* model class */; }
/// Internal Acessors for NetworkProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfile = value ?? null /* model class */; }
+
+ /// Internal Acessors for NetworkProfileNetworkInterface
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface = value ?? null /* arrayOf */; }
/// Internal Acessors for OSEdition
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSEdition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSEdition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSEdition = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSEdition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSEdition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSEdition = value ?? null; }
/// Internal Acessors for OSName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSName = value ?? null; }
/// Internal Acessors for OSSku
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSSku = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSSku = value ?? null; }
/// Internal Acessors for OSVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.OSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).OSVersion = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Resource
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.Resource { get => this._resource; set { {_resource = value;} } }
/// Internal Acessors for ServiceStatuses
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatuses = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatuses = value ?? null /* model class */; }
/// Internal Acessors for ServiceStatusesExtensionService
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService = value ?? null /* model class */; }
/// Internal Acessors for ServiceStatusesGuestConfigurationService
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService = value ?? null /* model class */; }
/// Internal Acessors for Status
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).Status = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).Status = value ?? null; }
/// Internal Acessors for StorageProfile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfile = value ?? null /* model class */; }
+
+ /// Internal Acessors for StorageProfileDisk
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfileDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfileDisk = value ?? null /* arrayOf */; }
/// Internal Acessors for VMUuid
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.VMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).VMUuid = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInternal.VMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).VMUuid = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// Specifies whether any MS SQL instance is discovered on the machine.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
@@ -449,7 +473,7 @@ public partial class Machine :
/// The list of network interfaces.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; }
/// The edition of the Operating System.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
@@ -527,44 +551,44 @@ public partial class Machine :
/// The disks on the machine.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfileDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfileDisk = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal)Property).StorageProfileDisk; }
///
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineAssessPatchesResult.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineAssessPatchesResult.cs
index befb3f17ee7a..1c9dc5b3e348 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineAssessPatchesResult.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineAssessPatchesResult.cs
@@ -108,49 +108,49 @@ public partial class MachineAssessPatchesResult :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassification Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassification { get => (this._availablePatchCountByClassification = this._availablePatchCountByClassification ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AvailablePatchCountByClassification()); set { {_availablePatchCountByClassification = value;} } }
/// Internal Acessors for AvailablePatchCountByClassificationCritical
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationCritical { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationCritical { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Critical = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationDefinition
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationDefinition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationDefinition { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Definition = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationFeaturePack
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationFeaturePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationFeaturePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).FeaturePack = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationOther
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationOther { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationOther { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Other = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationSecurity
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationSecurity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationSecurity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Security = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationServicePack
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationServicePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationServicePack { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).ServicePack = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationTool
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationTool { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationTool { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Tool = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationUpdate
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).Update = value ?? default(int); }
/// Internal Acessors for AvailablePatchCountByClassificationUpdateRollup
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdateRollup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.AvailablePatchCountByClassificationUpdateRollup { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAvailablePatchCountByClassificationInternal)AvailablePatchCountByClassification).UpdateRollup = value ?? default(int); }
/// Internal Acessors for ErrorDetail
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetail()); set { {_errorDetail = value;} } }
/// Internal Acessors for ErrorDetailAdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailCode
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code = value ?? null; }
/// Internal Acessors for ErrorDetailDetails
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message = value ?? null; }
/// Internal Acessors for ErrorDetailTarget
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target = value ?? null; }
/// Internal Acessors for LastModifiedDateTime
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineAssessPatchesResultInternal.LastModifiedDateTime { get => this._lastModifiedDateTime; set { {_lastModifiedDateTime = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtension.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtension.cs
index 136b3c3fed83..523d107c3867 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtension.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtension.cs
@@ -66,7 +66,7 @@ public partial class MachineExtension :
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.FormatTable(Index = 2)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Specifies the type of the extension; an example is "CustomScriptExtension".
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
@@ -74,28 +74,46 @@ public partial class MachineExtension :
public string MachineExtensionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).Type = value ?? null; }
/// Internal Acessors for InstanceView
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceView = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceView = value ?? null /* model class */; }
/// Internal Acessors for InstanceViewStatus
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -167,37 +185,37 @@ public partial class MachineExtension :
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.DoNotFormat]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtensionProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtensionProperties.cs
index bafdd1248e09..ce957ff50714 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtensionProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineExtensionProperties.cs
@@ -64,7 +64,7 @@ public partial class MachineExtensionProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal.InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionInstanceView()); set { {_instanceView = value;} } }
/// Internal Acessors for InstanceViewStatus
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status = value ?? null /* model class */; }
/// Internal Acessors for ProvisioningState
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineInstallPatchesResult.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineInstallPatchesResult.cs
index d493409f4b15..2a69ee04947a 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineInstallPatchesResult.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineInstallPatchesResult.cs
@@ -94,19 +94,19 @@ public partial class MachineInstallPatchesResult :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ErrorDetail()); set { {_errorDetail = value;} } }
/// Internal Acessors for ErrorDetailAdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).AdditionalInfo = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailCode
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Code = value ?? null; }
/// Internal Acessors for ErrorDetailDetails
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailDetails { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Detail = value ?? null /* arrayOf */; }
/// Internal Acessors for ErrorDetailMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Message = value ?? null; }
/// Internal Acessors for ErrorDetailTarget
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ErrorDetailTarget { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetailInternal)ErrorDetail).Target = value ?? null; }
/// Internal Acessors for ExcludedPatchCount
int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineInstallPatchesResultInternal.ExcludedPatchCount { get => this._excludedPatchCount; set { {_excludedPatchCount = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineProperties.cs
index 6821bfe7299c..c9f00c523f5e 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineProperties.cs
@@ -269,43 +269,43 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfiguration { get => (this._agentConfiguration = this._agentConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentConfiguration()); set { {_agentConfiguration = value;} } }
/// Internal Acessors for AgentConfigurationConfigMode
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode = value ?? null; }
/// Internal Acessors for AgentConfigurationExtensionsAllowList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsBlockList
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationExtensionsEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationGuestConfigurationEnabled
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled = value ?? null; }
/// Internal Acessors for AgentConfigurationIncomingConnectionsPort
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyBypass
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass = value ?? null /* arrayOf */; }
/// Internal Acessors for AgentConfigurationProxyUrl
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl = value ?? null; }
/// Internal Acessors for AgentUpgrade
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgrade { get => (this._agentUpgrade = this._agentUpgrade ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentUpgrade()); set { {_agentUpgrade = value;} } }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value ?? null; }
/// Internal Acessors for AgentVersion
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.AgentVersion { get => this._agentVersion; set { {_agentVersion = value;} } }
@@ -314,7 +314,7 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.CloudMetadata { get => (this._cloudMetadata = this._cloudMetadata ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.CloudMetadata()); set { {_cloudMetadata = value;} } }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider = value ?? null; }
/// Internal Acessors for DetectedProperty
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.DetectedProperty { get => (this._detectedProperty = this._detectedProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.DetectedProperties()); set { {_detectedProperty = value;} } }
@@ -335,22 +335,22 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.FirmwareProfile { get => (this._firmwareProfile = this._firmwareProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.FirmwareProfile()); set { {_firmwareProfile = value;} } }
/// Internal Acessors for FirmwareProfileSerialNumber
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.FirmwareProfileSerialNumber { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).SerialNumber = value ?? null; }
/// Internal Acessors for FirmwareProfileType
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.FirmwareProfileType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IFirmwareProfileInternal)FirmwareProfile).Type = value ?? null; }
/// Internal Acessors for HardwareProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.HardwareProfile { get => (this._hardwareProfile = this._hardwareProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HardwareProfile()); set { {_hardwareProfile = value;} } }
/// Internal Acessors for HardwareProfileNumberOfCpuSocket
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.HardwareProfileNumberOfCpuSocket { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).NumberOfCpuSocket = value ?? default(int); }
/// Internal Acessors for HardwareProfileProcessor
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).Processor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).Processor = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.HardwareProfileProcessor { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).Processor; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).Processor = value ?? null /* arrayOf */; }
/// Internal Acessors for HardwareProfileTotalPhysicalMemoryInByte
- long? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte = value; }
+ long? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.HardwareProfileTotalPhysicalMemoryInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfileInternal)HardwareProfile).TotalPhysicalMemoryInByte = value ?? default(long); }
/// Internal Acessors for LastStatusChange
global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.LastStatusChange { get => this._lastStatusChange; set { {_lastStatusChange = value;} } }
@@ -364,6 +364,9 @@ public partial class MachineProperties :
/// Internal Acessors for NetworkProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkProfile()); set { {_networkProfile = value;} } }
+ /// Internal Acessors for NetworkProfileNetworkInterface
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface = value ?? null /* arrayOf */; }
+
/// Internal Acessors for OSEdition
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.OSEdition { get => this._oSEdition; set { {_oSEdition = value;} } }
@@ -383,10 +386,10 @@ public partial class MachineProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.ServiceStatuses { get => (this._serviceStatuses = this._serviceStatuses ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ServiceStatuses()); set { {_serviceStatuses = value;} } }
/// Internal Acessors for ServiceStatusesExtensionService
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService = value ?? null /* model class */; }
/// Internal Acessors for ServiceStatusesGuestConfigurationService
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService = value ?? null /* model class */; }
/// Internal Acessors for Status
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.Status { get => this._status; set { {_status = value;} } }
@@ -394,6 +397,9 @@ public partial class MachineProperties :
/// Internal Acessors for StorageProfile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.StorageProfile()); set { {_storageProfile = value;} } }
+ /// Internal Acessors for StorageProfileDisk
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfileInternal)StorageProfile).Disk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfileInternal)StorageProfile).Disk = value ?? null /* arrayOf */; }
+
/// Internal Acessors for VMUuid
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachinePropertiesInternal.VMUuid { get => this._vMUuid; set { {_vMUuid = value;} } }
@@ -413,7 +419,7 @@ public partial class MachineProperties :
/// The list of network interfaces.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; }
/// Backing field for property.
private string _oSEdition;
@@ -503,7 +509,7 @@ public partial class MachineProperties :
/// The disks on the machine.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfileInternal)StorageProfile).Disk; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfileInternal)StorageProfile).Disk = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List StorageProfileDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IStorageProfileInternal)StorageProfile).Disk; }
/// Backing field for property.
private string _vMId;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs
index 7c365fd30109..02ed934b52c9 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommand.cs
@@ -52,72 +52,114 @@ public partial class MachineRunCommand :
/// Script end time.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime; }
/// Script error stream.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError = value ?? null; }
+ public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError; }
/// Communicate script configuration errors or execution messages.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage = value ?? null; }
+ public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage; }
/// Script execution status.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState = value ?? null; }
+ public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState; }
/// Exit code returned from script execution.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode = value ?? default(int); }
+ public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode; }
/// Script output stream.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput = value ?? null; }
+ public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput; }
/// Script start time.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime; }
/// The status information.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses; }
/// The geo-location where the resource lives
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ; }
+ public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; }
/// Internal Acessors for ErrorBlobManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.ErrorBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.ErrorBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ErrorBlobManagedIdentity = value ?? null /* model class */; }
/// Internal Acessors for InstanceView
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceView = value ?? null /* model class */; }
+
+ /// Internal Acessors for InstanceViewEndTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewEndTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewError
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewError = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionMessage = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionState
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExecutionState = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExitCode
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewExitCode = value ?? default(int); }
+
+ /// Internal Acessors for InstanceViewOutput
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewOutput = value ?? null; }
+
+ /// Internal Acessors for InstanceViewStartTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStartTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewStatuses
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).InstanceViewStatuses = value ?? null /* arrayOf */; }
/// Internal Acessors for OutputBlobManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.OutputBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.OutputBlobManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).OutputBlobManagedIdentity = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for Source
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Source = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).Source = value ?? null /* model class */; }
/// Internal Acessors for SourceScriptUriManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal)Property).SourceScriptUriManagedIdentity = value ?? null /* model class */; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -205,31 +247,31 @@ public partial class MachineRunCommand :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; }
/// Resource tags.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs
index 7d8b6c03f54b..8d80f1ff9a77 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineRunCommandProperties.cs
@@ -65,35 +65,35 @@ public partial class MachineRunCommandProperties :
/// Script end time.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime; }
/// Script error stream.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error = value ?? null; }
+ public string InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error; }
/// Communicate script configuration errors or execution messages.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage = value ?? null; }
+ public string InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage; }
/// Script execution status.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState = value ?? null; }
+ public string InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState; }
/// Exit code returned from script execution.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode = value ?? default(int); }
+ public int? InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode; }
/// Script output stream.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output = value ?? null; }
+ public string InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output; }
/// Script start time.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime; }
/// The status information.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses = value ?? null /* arrayOf */; }
+ public System.Collections.Generic.List InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses; }
/// Internal Acessors for ErrorBlobManagedIdentity
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.ErrorBlobManagedIdentity { get => (this._errorBlobManagedIdentity = this._errorBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set { {_errorBlobManagedIdentity = value;} } }
@@ -101,6 +101,30 @@ public partial class MachineRunCommandProperties :
/// Internal Acessors for InstanceView
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceView Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandInstanceView()); set { {_instanceView = value;} } }
+ /// Internal Acessors for InstanceViewEndTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).EndTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewError
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Error = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewExecutionMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionMessage = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExecutionState
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewExecutionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExecutionState = value ?? null; }
+
+ /// Internal Acessors for InstanceViewExitCode
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewExitCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).ExitCode = value ?? default(int); }
+
+ /// Internal Acessors for InstanceViewOutput
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewOutput { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Output = value ?? null; }
+
+ /// Internal Acessors for InstanceViewStartTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).StartTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for InstanceViewStatuses
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.InstanceViewStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandInstanceViewInternal)InstanceView).Statuses = value ?? null /* arrayOf */; }
+
/// Internal Acessors for OutputBlobManagedIdentity
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.OutputBlobManagedIdentity { get => (this._outputBlobManagedIdentity = this._outputBlobManagedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.RunCommandManagedIdentity()); set { {_outputBlobManagedIdentity = value;} } }
@@ -111,7 +135,7 @@ public partial class MachineRunCommandProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSource Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.Source { get => (this._source = this._source ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSource()); set { {_source = value;} } }
/// Internal Acessors for SourceScriptUriManagedIdentity
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandPropertiesInternal.SourceScriptUriManagedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommandScriptSourceInternal)Source).ScriptUriManagedIdentity = value ?? null /* model class */; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IRunCommandManagedIdentity _outputBlobManagedIdentity;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdate.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdate.cs
index 501bc47e2b24..c02dcf1ae1e6 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdate.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdate.cs
@@ -96,37 +96,37 @@ public partial class MachineUpdate :
public string LocationDataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).LocationDataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).LocationDataName = value ?? null; }
/// Internal Acessors for AgentUpgrade
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade = value ?? null /* model class */; }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value ?? null; }
/// Internal Acessors for CloudMetadata
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata = value ?? null /* model class */; }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider = value ?? null; }
/// Internal Acessors for Identity
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Identity()); set { {_identity = value;} } }
/// Internal Acessors for IdentityPrincipalId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; }
/// Internal Acessors for IdentityTenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IIdentityInternal)Identity).TenantId = value ?? null; }
/// Internal Acessors for LocationData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).LocationData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal)Property).LocationData = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdateProperties()); set { {_property = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdateProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdateProperties.cs
index b53690865912..73faba122d1f 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdateProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/MachineUpdateProperties.cs
@@ -86,22 +86,22 @@ public partial class MachineUpdateProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgrade { get => (this._agentUpgrade = this._agentUpgrade ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentUpgrade()); set { {_agentUpgrade = value;} } }
/// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptMessage
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptStatus
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value ?? null; }
/// Internal Acessors for AgentUpgradeLastAttemptTimestamp
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value ?? null; }
/// Internal Acessors for CloudMetadata
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.CloudMetadata { get => (this._cloudMetadata = this._cloudMetadata ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.CloudMetadata()); set { {_cloudMetadata = value;} } }
/// Internal Acessors for CloudMetadataProvider
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadataInternal)CloudMetadata).Provider = value ?? null; }
/// Internal Acessors for LocationData
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdatePropertiesInternal.LocationData { get => (this._locationData = this._locationData ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LocationData()); set { {_locationData = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs
index 54e5b96fdbec..f927f4bbfffe 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfiguration.cs
@@ -53,49 +53,67 @@ public partial class NetworkConfiguration :
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).Location = value ?? null; }
/// Internal Acessors for CandidatePublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKey = value ?? null; }
/// Internal Acessors for CandidatePublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for CandidatePublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).CandidatePublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKey = value ?? null; }
/// Internal Acessors for ClientPublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).ClientPublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for KeyProperty
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyProperty = value ?? null /* model class */; }
/// Internal Acessors for KeyPropertyCandidatePublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyCandidatePublicKey = value ?? null /* model class */; }
/// Internal Acessors for KeyPropertyClientPublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).KeyPropertyClientPublicKey = value ?? null /* model class */; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkConfigurationProperties()); set { {_property = value;} } }
/// Internal Acessors for TenantId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).TenantId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal)Property).TenantId = value ?? null; }
/// Internal Acessors for Id
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Id = value ?? null; }
/// Internal Acessors for Name
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Name = value ?? null; }
/// Internal Acessors for SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
+
+ /// Internal Acessors for SystemDataCreatedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataCreatedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataCreatedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedAt
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for SystemDataLastModifiedBy
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+
+ /// Internal Acessors for SystemDataLastModifiedByType
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
/// Internal Acessors for Type
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).Type = value ?? null; }
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
@@ -124,31 +142,31 @@ public partial class NetworkConfiguration :
/// Azure Resource Manager metadata containing createdBy and modifiedBy information.
///
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; }
+ internal Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemData = value ?? null /* model class */; }
/// The timestamp of resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedAt; }
/// The identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy = value ?? null; }
+ public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedBy; }
/// The type of identity that created the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType = value ?? null; }
+ public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataCreatedByType; }
/// The timestamp of resource last modification (UTC)
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); }
+ public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedAt; }
/// The identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy = value ?? null; }
+ public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedBy; }
/// The type of identity that last modified the resource.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inherited)]
- public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType = value ?? null; }
+ public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceInternal)__proxyResourceAutoGenerated).SystemDataLastModifiedByType; }
/// Azure resource tenant Id
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs
index 8b8bcdb47a13..e5503e3129c0 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkConfigurationProperties.cs
@@ -52,31 +52,31 @@ public partial class NetworkConfigurationProperties :
public string Location { get => this._location; set => this._location = value; }
/// Internal Acessors for CandidatePublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyPublicKey = value ?? null; }
/// Internal Acessors for CandidatePublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for CandidatePublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.CandidatePublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKey
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyPublicKey = value ?? null; }
/// Internal Acessors for ClientPublicKeyNotAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyNotAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyNotAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for ClientPublicKeyRenewAfter
- global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter = value; }
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.ClientPublicKeyRenewAfter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKeyRenewAfter = value ?? default(global::System.DateTime); }
/// Internal Acessors for KeyProperty
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyProperty { get => (this._keyProperty = this._keyProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.KeyProperties()); set { {_keyProperty = value;} } }
/// Internal Acessors for KeyPropertyCandidatePublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyPropertyCandidatePublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).CandidatePublicKey = value ?? null /* model class */; }
/// Internal Acessors for KeyPropertyClientPublicKey
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyDetails Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.KeyPropertyClientPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IKeyPropertiesInternal)KeyProperty).ClientPublicKey = value ?? null /* model class */; }
/// Internal Acessors for TenantId
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkConfigurationPropertiesInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs
index bc2a6fccecc2..0fd860b695a6 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfiguration.cs
@@ -27,52 +27,52 @@ public partial class NetworkSecurityPerimeterConfiguration :
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for NetworkSecurityPerimeter
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter = value ?? null /* model class */; }
/// Internal Acessors for NetworkSecurityPerimeterGuid
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterLocation
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation = value ?? null; }
/// Internal Acessors for Profile
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.Profile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.Profile { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile = value ?? null /* model class */; }
/// Internal Acessors for ProfileAccessRule
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileAccessRulesVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion = value ?? default(int); }
/// Internal Acessors for ProfileDiagnosticSettingsVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileDiagnosticSettingsVersion = value ?? default(int); }
/// Internal Acessors for ProfileEnabledLogCategory
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileEnabledLogCategory = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName = value ?? null; }
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterConfigurationProperties()); set { {_property = value;} } }
/// Internal Acessors for ProvisioningIssue
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningIssue { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningIssue { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue = value ?? null /* arrayOf */; }
/// Internal Acessors for ProvisioningState
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState = value ?? null; }
/// Internal Acessors for ResourceAssociation
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation = value ?? null /* model class */; }
/// Internal Acessors for ResourceAssociationAccessMode
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode = value ?? null; }
/// Internal Acessors for ResourceAssociationName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName = value ?? null; }
/// Internal Acessors for Type
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationInternal.Type { get => this._type; set { {_type = value;} } }
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs
index f8b69f1fa818..0bcef441cea1 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationProperties.cs
@@ -17,31 +17,31 @@ public partial class NetworkSecurityPerimeterConfigurationProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeter { get => (this._networkSecurityPerimeter = this._networkSecurityPerimeter ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeter()); set { {_networkSecurityPerimeter = value;} } }
/// Internal Acessors for NetworkSecurityPerimeterGuid
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterId
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id = value ?? null; }
/// Internal Acessors for NetworkSecurityPerimeterLocation
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location = value ?? null; }
/// Internal Acessors for Profile
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfile Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.Profile { get => (this._profile = this._profile ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.NetworkSecurityPerimeterProfile()); set { {_profile = value;} } }
/// Internal Acessors for ProfileAccessRule
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRule = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileAccessRulesVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).AccessRulesVersion = value ?? default(int); }
/// Internal Acessors for ProfileDiagnosticSettingsVersion
- int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion = value; }
+ int? Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileDiagnosticSettingsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).DiagnosticSettingsVersion = value ?? default(int); }
/// Internal Acessors for ProfileEnabledLogCategory
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileEnabledLogCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).EnabledLogCategory = value ?? null /* arrayOf */; }
/// Internal Acessors for ProfileName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterProfileInternal)Profile).Name = value ?? null; }
/// Internal Acessors for ProvisioningIssue
System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ProvisioningIssue { get => this._provisioningIssue; set { {_provisioningIssue = value;} } }
@@ -53,10 +53,10 @@ public partial class NetworkSecurityPerimeterConfigurationProperties :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociation { get => (this._resourceAssociation = this._resourceAssociation ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ResourceAssociation()); set { {_resourceAssociation = value;} } }
/// Internal Acessors for ResourceAssociationAccessMode
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).AccessMode = value ?? null; }
/// Internal Acessors for ResourceAssociationName
- string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).Name = value; }
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IResourceAssociationInternal)ResourceAssociation).Name = value ?? null; }
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeter _networkSecurityPerimeter;
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs
index 5d26845707ca..14eee391107e 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/NetworkSecurityPerimeterConfigurationReconcileResult.cs
@@ -18,7 +18,10 @@ public partial class NetworkSecurityPerimeterConfigurationReconcileResult :
/// The URL of the resource used to check the status of the asynchronous operation.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Owned)]
- public string Location { get => this._location; set => this._location = value; }
+ public string Location { get => this._location; }
+
+ /// Internal Acessors for Location
+ string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.INetworkSecurityPerimeterConfigurationReconcileResultInternal.Location { get => this._location; set { {_location = value;} } }
///
/// Creates an new instance.
diff --git a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/OSProfile.cs b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/OSProfile.cs
index b1d446db6166..ffcddfe4da71 100644
--- a/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/OSProfile.cs
+++ b/generated/ConnectedMachine/ConnectedMachine.Autorest/generated/api/Models/OSProfile.cs
@@ -64,7 +64,7 @@ public partial class OSProfile :
/// Indicates the current status of the hotpatch being enabled or disabled.
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Origin(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.PropertyOrigin.Inlined)]
- public string LinuxConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus = value ?? null; }
+ public string LinuxConfigurationPatchSettingsStatusHotpatchEnablementStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusHotpatchEnablementStatus; }
/// Internal Acessors for ComputerName
string Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.ComputerName { get => this._computerName; set { {_computerName = value;} } }
@@ -73,57 +73,67 @@ public partial class OSProfile :
Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfiguration { get => (this._linuxConfiguration = this._linuxConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.OSProfileLinuxConfiguration()); set { {_linuxConfiguration = value;} } }
/// Internal Acessors for LinuxConfigurationPatchSetting
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatus
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPatchSettingsStatus Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSettingStatus = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusError
- Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError = value; }
+ Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusError { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).StatusError = value ?? null /* model class */; }
/// Internal Acessors for LinuxConfigurationPatchSettingsStatusErrorAdditionalInfo
- System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo = value; }
+ System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileInternal.LinuxConfigurationPatchSettingsStatusErrorAdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).AdditionalInfo = value ?? null /* arrayOf */; }
///