예제 #1
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ITrafficWeight.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ITrafficWeight.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ITrafficWeight FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new TrafficWeight(json) : null);
 }
예제 #2
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity.</returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new AppIdentity(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IClientRegistration.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IClientRegistration.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IClientRegistration FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new ClientRegistration(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ICheckNameAvailabilityResponse.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ICheckNameAvailabilityResponse.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ICheckNameAvailabilityResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new CheckNameAvailabilityResponse(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IOperationDisplay.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IOperationDisplay.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IOperationDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new OperationDisplay(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IAzureCredentials.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IAzureCredentials.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IAzureCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new AzureCredentials(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IOpenIdConnectClientCredential.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IOpenIdConnectClientCredential.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IOpenIdConnectClientCredential FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new OpenIdConnectClientCredential(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IManagedEnvironmentStorageProperties.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IManagedEnvironmentStorageProperties.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IManagedEnvironmentStorageProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new ManagedEnvironmentStorageProperties(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.IUserAssignedIdentities.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.IUserAssignedIdentities.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.IUserAssignedIdentities FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new UserAssignedIdentities(json) : null);
 }
예제 #10
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IForwardProxy.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IForwardProxy.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IForwardProxy FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new ForwardProxy(json) : null);
 }
예제 #11
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ISourceControlCollection.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ISourceControlCollection.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ISourceControlCollection FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new SourceControlCollection(json) : null);
 }
예제 #12
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ICustomHostnameAnalysisResultProperties.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ICustomHostnameAnalysisResultProperties.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ICustomHostnameAnalysisResultProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new CustomHostnameAnalysisResultProperties(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ITrackedResourceTags.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ITrackedResourceTags.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ITrackedResourceTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new TrackedResourceTags(json) : null);
 }
예제 #14
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IQueueScaleRule.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IQueueScaleRule.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IQueueScaleRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new QueueScaleRule(json) : null);
 }
예제 #15
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ILogAnalyticsConfiguration.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ILogAnalyticsConfiguration.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ILogAnalyticsConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new LogAnalyticsConfiguration(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IHttpSettingsRoutes.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IHttpSettingsRoutes.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IHttpSettingsRoutes FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new HttpSettingsRoutes(json) : null);
 }
예제 #17
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDaprMetadata.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDaprMetadata.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDaprMetadata FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new DaprMetadata(json) : null);
 }
예제 #18
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IIdentityProvidersCustomOpenIdConnectProviders.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IIdentityProvidersCustomOpenIdConnectProviders.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IIdentityProvidersCustomOpenIdConnectProviders FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new IdentityProvidersCustomOpenIdConnectProviders(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDefaultErrorResponseError.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDefaultErrorResponseError.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDefaultErrorResponseError FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new DefaultErrorResponseError(json) : null);
 }
예제 #20
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IEnvironmentVar.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IEnvironmentVar.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IEnvironmentVar FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new EnvironmentVar(json) : null);
 }
예제 #21
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IContainerAppProbe.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IContainerAppProbe.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IContainerAppProbe FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new ContainerAppProbe(json) : null);
 }
예제 #22
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ISystemData.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ISystemData.</returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api30.ISystemData FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new SystemData(json) : null);
 }
예제 #23
0
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IAzureActiveDirectoryValidation.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IAzureActiveDirectoryValidation.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IAzureActiveDirectoryValidation FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new AzureActiveDirectoryValidation(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ICertificateProperties.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ICertificateProperties.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.ICertificateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new CertificateProperties(json) : null);
 }
 /// <summary>
 /// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDefaultAuthorizationPolicy.
 /// </summary>
 /// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode" /> to deserialize from.</param>
 /// <returns>
 /// an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDefaultAuthorizationPolicy.
 /// </returns>
 public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.Api20220301.IDefaultAuthorizationPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonNode node)
 {
     return(node is Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Json.JsonObject json ? new DefaultAuthorizationPolicy(json) : null);
 }