/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20220301.ResourceProviderOperation" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20220301.IResourceProviderOperation" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20220301.IResourceProviderOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ResourceProviderOperation(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResourceCollection" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceCollection" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceCollection DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new SiteConfigResourceCollection(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210.VMwareV2FabricSpecificDetails" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210.IVMwareV2FabricSpecificDetails" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210.IVMwareV2FabricSpecificDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new VMwareV2FabricSpecificDetails(content)); }
/// <summary> /// Implementations of this function are called by PowerShell to complete arguments. /// </summary> /// <param name="commandName">The name of the command that needs argument completion.</param> /// <param name="parameterName">The name of the parameter that needs argument completion.</param> /// <param name="wordToComplete">The (possibly empty) word being completed.</param> /// <param name="commandAst">The command ast in case it is needed for completion.</param> /// <param name="fakeBoundParameters">This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot /// or will not attempt to evaluate an argument, in which case you may need to use commandAst.</param> /// <returns> /// A collection of completion results, most like with ResultType set to ParameterValue. /// </returns> public global::System.Collections.Generic.IEnumerable <global::System.Management.Automation.CompletionResult> CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) { if (global::System.String.IsNullOrEmpty(wordToComplete) || "Approving".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return(new global::System.Management.Automation.CompletionResult("'Approving'", "Approving", global::System.Management.Automation.CompletionResultType.ParameterValue, "Approving")); } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Ready".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return(new global::System.Management.Automation.CompletionResult("'Ready'", "Ready", global::System.Management.Automation.CompletionResultType.ParameterValue, "Ready")); } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Dropping".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return(new global::System.Management.Automation.CompletionResult("'Dropping'", "Dropping", global::System.Management.Automation.CompletionResultType.ParameterValue, "Dropping")); } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Failed".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return(new global::System.Management.Automation.CompletionResult("'Failed'", "Failed", global::System.Management.Automation.CompletionResultType.ParameterValue, "Failed")); } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Rejecting".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return(new global::System.Management.Automation.CompletionResult("'Rejecting'", "Rejecting", global::System.Management.Automation.CompletionResultType.ParameterValue, "Rejecting")); } }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.PrivateLinkResourceProperties" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPrivateLinkResourceProperties" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPrivateLinkResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new PrivateLinkResourceProperties(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20200601.ExportExecutionProperties" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20200601.IExportExecutionProperties" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20200601.IExportExecutionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ExportExecutionProperties(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20190501Preview.CustomDomainResourceCollection" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20190501Preview.ICustomDomainResourceCollection" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20190501Preview.ICustomDomainResourceCollection DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new CustomDomainResourceCollection(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StaticSiteBuildArmResource" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteBuildArmResource" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteBuildArmResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StaticSiteBuildArmResource(content); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20210701.Error" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20210701.IError" />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20210701.IError DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new Error(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.MitiScanProperties" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> internal MitiScanProperties(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); if (returnNow) { return; } // actually deserialize if (content.Contains("MaximumMemoryAllowedInGb")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IMitiScanPropertiesInternal) this).MaximumMemoryAllowedInGb = (string)content.GetValueForProperty("MaximumMemoryAllowedInGb", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IMitiScanPropertiesInternal) this).MaximumMemoryAllowedInGb, global::System.Convert.ToString); } if (content.Contains("MitiCache")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IMitiScanPropertiesInternal) this).MitiCache = (string)content.GetValueForProperty("MitiCache", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IMitiScanPropertiesInternal) this).MitiCache, global::System.Convert.ToString); } if (content.Contains("CollectionReferenceName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CollectionReferenceName = (string)content.GetValueForProperty("CollectionReferenceName", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CollectionReferenceName, global::System.Convert.ToString); } if (content.Contains("ConnectedViaReferenceName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ConnectedViaReferenceName = (string)content.GetValueForProperty("ConnectedViaReferenceName", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ConnectedViaReferenceName, global::System.Convert.ToString); } if (content.Contains("CollectionLastModifiedAt")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CollectionLastModifiedAt = (global::System.DateTime?)content.GetValueForProperty("CollectionLastModifiedAt", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CollectionLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime(v.ToString(), global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("CollectionType")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CollectionType = (string)content.GetValueForProperty("CollectionType", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CollectionType, global::System.Convert.ToString); } if (content.Contains("Collection")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).Collection = (Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICollectionReference)content.GetValueForProperty("Collection", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).Collection, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CollectionReferenceTypeConverter.ConvertFrom); } if (content.Contains("ConnectedVia")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ConnectedVia = (Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IConnectedVia)content.GetValueForProperty("ConnectedVia", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ConnectedVia, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ConnectedViaTypeConverter.ConvertFrom); } if (content.Contains("ScanRulesetName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ScanRulesetName = (string)content.GetValueForProperty("ScanRulesetName", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ScanRulesetName, global::System.Convert.ToString); } if (content.Contains("ScanRulesetType")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ScanRulesetType = (Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType?)content.GetValueForProperty("ScanRulesetType", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).ScanRulesetType, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType.CreateFrom); } if (content.Contains("Worker")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).Worker = (int?)content.GetValueForProperty("Worker", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).Worker, (__y) => (int)global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("CreatedAt")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CreatedAt = (global::System.DateTime?)content.GetValueForProperty("CreatedAt", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime(v.ToString(), global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LastModifiedAt")) { ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).LastModifiedAt = (global::System.DateTime?)content.GetValueForProperty("LastModifiedAt", ((Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanPropertiesInternal) this).LastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime(v.ToString(), global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.MitiScanProperties" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IMitiScanProperties" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IMitiScanProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new MitiScanProperties(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.StorageAccountUpdateParametersTags" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersTags" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new StorageAccountUpdateParametersTags(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StaticSiteCustomDomainOverviewCollection" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteCustomDomainOverviewCollection" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteCustomDomainOverviewCollection DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new StaticSiteCustomDomainOverviewCollection(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteLimits" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteLimits" />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteLimits DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new SiteLimits(content)); }
/// <summary> /// Implementations of this function are called by PowerShell to complete arguments. /// </summary> /// <param name="commandName">The name of the command that needs argument completion.</param> /// <param name="parameterName">The name of the parameter that needs argument completion.</param> /// <param name="wordToComplete">The (possibly empty) word being completed.</param> /// <param name="commandAst">The command ast in case it is needed for completion.</param> /// <param name="fakeBoundParameters">This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot /// or will not attempt to evaluate an argument, in which case you may need to use commandAst.</param> /// <returns> /// A collection of completion results, most like with ResultType set to ParameterValue. /// </returns> public global::System.Collections.Generic.IEnumerable <global::System.Management.Automation.CompletionResult> CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) { if (global::System.String.IsNullOrEmpty(wordToComplete) || "SingleZone".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return(new global::System.Management.Automation.CompletionResult("'SingleZone'", "SingleZone", global::System.Management.Automation.CompletionResultType.ParameterValue, "SingleZone")); } if (global::System.String.IsNullOrEmpty(wordToComplete) || "DualZone".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return(new global::System.Management.Automation.CompletionResult("'DualZone'", "DualZone", global::System.Management.Automation.CompletionResultType.ParameterValue, "DualZone")); } }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.TagsResource" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.ITagsResource" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20180501Preview.ITagsResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new TagsResource(content); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.ComponentsResourceTags" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IComponentsResourceTags" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IComponentsResourceTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ComponentsResourceTags(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.ApplicationInsightsComponentExportRequest" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportRequest" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20150501.IApplicationInsightsComponentExportRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ApplicationInsightsComponentExportRequest(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20210801.MoveResourceCollection" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20210801.IMoveResourceCollection" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20210801.IMoveResourceCollection DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new MoveResourceCollection(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20220301.ObjectReferenceDefinition" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20220301.IObjectReferenceDefinition" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20220301.IObjectReferenceDefinition DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ObjectReferenceDefinition(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ConfigurationListResult" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationListResult" />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ConfigurationListResult(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.MariaDbIdentity" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity" />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new MariaDbIdentity(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.InMageAzureV2PolicyDetails" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IInMageAzureV2PolicyDetails" />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IInMageAzureV2PolicyDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new InMageAzureV2PolicyDetails(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleAssignmentScheduleInstanceFilter" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstanceFilter" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstanceFilter DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new RoleAssignmentScheduleInstanceFilter(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.ClusterList" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.IClusterList" />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.IClusterList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ClusterList(content)); }
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20210301.ContainerGroup" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20210301.IContainerGroup" />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20210301.IContainerGroup DeserializeFromDictionary(global::System.Collections.IDictionary content) { return(new ContainerGroup(content)); }
/// <summary> /// <c>BeforeDeserializeDictionary</c> will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. /// If you wish to disable the default deserialization entirely, return <c>true</c> in the <see "returnNow" /> output parameter. /// Implement this method in a partial class to enable this behavior. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <param name="returnNow">Determines if the rest of the serialization should be processed, or if the method should return /// instantly.</param> partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow);
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.Api20200214.PlatformImagePurchasePlan" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.Api20200214.IPlatformImagePurchasePlan" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.Api20200214.IPlatformImagePurchasePlan DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PlatformImagePurchasePlan(content); }
/// <summary> /// <c>AfterDeserializeDictionary</c> will be called after the deserialization has finished, allowing customization of the /// object before it is returned. Implement this method in a partial class to enable this behavior /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content);
/// <summary> /// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceCredentialScanPropertiesAutoGenerated" /// />. /// </summary> /// <param name="content">The global::System.Collections.IDictionary content that should be used.</param> /// <returns> /// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureFileServiceCredentialScanPropertiesAutoGenerated" /// />. /// </returns> public static Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureFileServiceCredentialScanPropertiesAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureFileServiceCredentialScanPropertiesAutoGenerated(content); }