pspulumiyaml.azurenative.providerhub.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionProviderhubGetProviderRegistration { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace ) process { $arguments = @{} $arguments["providerNamespace"] = $providerNamespace $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getProviderRegistration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionProviderhubGetResourceTypeRegistration { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType ) process { $arguments = @{} $arguments["providerNamespace"] = $providerNamespace $arguments["resourceType"] = $resourceType $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getResourceTypeRegistration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionProviderhubGetSkusNestedResourceTypeSecond { param ( [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage='The second child resource type.)')] [string] $nestedResourceTypeSecond, [parameter(mandatory=$False,HelpMessage='The first child resource type.)')] [string] $nestedResourceTypeFirst, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace ) process { $arguments = @{} $arguments["nestedResourceTypeFirst"] = $nestedResourceTypeFirst $arguments["nestedResourceTypeSecond"] = $nestedResourceTypeSecond $arguments["providerNamespace"] = $providerNamespace $arguments["resourceType"] = $resourceType $arguments["sku"] = $sku $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getSkusNestedResourceTypeSecond -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionProviderhubGetNotificationRegistration { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory=$False,HelpMessage='The notification registration.)')] [string] $notificationRegistrationName ) process { $arguments = @{} $arguments["notificationRegistrationName"] = $notificationRegistrationName $arguments["providerNamespace"] = $providerNamespace $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getNotificationRegistration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionProviderhubGetSkus { param ( [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace ) process { $arguments = @{} $arguments["providerNamespace"] = $providerNamespace $arguments["resourceType"] = $resourceType $arguments["sku"] = $sku $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getSkus -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionProviderhubGetDefaultRollout { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory=$False,HelpMessage='The rollout name.)')] [string] $rolloutName ) process { $arguments = @{} $arguments["providerNamespace"] = $providerNamespace $arguments["rolloutName"] = $rolloutName $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getDefaultRollout -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionProviderhubGetSkusNestedResourceTypeFirst { param ( [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage='The first child resource type.)')] [string] $nestedResourceTypeFirst, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace ) process { $arguments = @{} $arguments["nestedResourceTypeFirst"] = $nestedResourceTypeFirst $arguments["providerNamespace"] = $providerNamespace $arguments["resourceType"] = $resourceType $arguments["sku"] = $sku $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getSkusNestedResourceTypeFirst -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionProviderhubGetSkusNestedResourceTypeThird { param ( [parameter(mandatory=$False,HelpMessage='The third child resource type.)')] [string] $nestedResourceTypeThird, [parameter(mandatory=$False,HelpMessage='The first child resource type.)')] [string] $nestedResourceTypeFirst, [parameter(mandatory=$False,HelpMessage='The second child resource type.)')] [string] $nestedResourceTypeSecond, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType ) process { $arguments = @{} $arguments["nestedResourceTypeFirst"] = $nestedResourceTypeFirst $arguments["nestedResourceTypeSecond"] = $nestedResourceTypeSecond $arguments["nestedResourceTypeThird"] = $nestedResourceTypeThird $arguments["providerNamespace"] = $providerNamespace $arguments["resourceType"] = $resourceType $arguments["sku"] = $sku $functionObject = Invoke-PulumiFunction -Name azure-native:providerhub:getSkusNestedResourceTypeThird -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class SubscriptionStateOverrideAction { [ArgumentCompletions('Registered', 'Unregistered', 'Warned', 'Suspended', 'Deleted', 'WarnedToRegistered', 'WarnedToSuspended', 'WarnedToDeleted', 'WarnedToUnregistered', 'SuspendedToRegistered', 'SuspendedToWarned', 'SuspendedToDeleted', 'SuspendedToUnregistered')] [string] $state [ArgumentCompletions('NotDefined', 'DeleteAllResources', 'SoftDeleteAllResources', 'NoOp', 'BillingCancellation', 'UndoSoftDelete')] [string] $action } function New-AzureNativeTypeProviderhubSubscriptionStateOverrideAction { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('Registered', 'Unregistered', 'Warned', 'Suspended', 'Deleted', 'WarnedToRegistered', 'WarnedToSuspended', 'WarnedToDeleted', 'WarnedToUnregistered', 'SuspendedToRegistered', 'SuspendedToWarned', 'SuspendedToDeleted', 'SuspendedToUnregistered')] $state, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotDefined', 'DeleteAllResources', 'SoftDeleteAllResources', 'NoOp', 'BillingCancellation', 'UndoSoftDelete')] $action ) process { return $([SubscriptionStateOverrideAction]$PSBoundParameters) } } class ProviderRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications { [SubscriptionStateOverrideAction[]] $subscriptionStateOverrideActions [string] $softDeleteTTL } function New-AzureNativeTypeProviderhubProviderRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications { param ( [parameter(mandatory=$False,HelpMessage=')')] $subscriptionStateOverrideActions, [parameter(mandatory=$False,HelpMessage=')')] [string] $softDeleteTTL ) process { return $([ProviderRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications]$PSBoundParameters) } } class ResourceProviderManifestPropertiesRequestHeaderOptions { [ArgumentCompletions('NotSpecified', 'SignedUserToken', 'ClientGroupMembership', 'SignedAuxiliaryTokens', 'UnboundedClientGroupMembership')] [string] $optInHeaders } function New-AzureNativeTypeProviderhubResourceProviderManifestPropertiesRequestHeaderOptions { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'SignedUserToken', 'ClientGroupMembership', 'SignedAuxiliaryTokens', 'UnboundedClientGroupMembership')] $optInHeaders ) process { return $([ResourceProviderManifestPropertiesRequestHeaderOptions]$PSBoundParameters) } } class ResourceProviderAuthorization { [string] $managedByRoleDefinitionId [string] $roleDefinitionId [string] $applicationId } function New-AzureNativeTypeProviderhubResourceProviderAuthorization { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $managedByRoleDefinitionId, [parameter(mandatory=$False,HelpMessage=')')] [string] $roleDefinitionId, [parameter(mandatory=$False,HelpMessage=')')] [string] $applicationId ) process { return $([ResourceProviderAuthorization]$PSBoundParameters) } } class ResourceProviderManifestPropertiesTemplateDeploymentOptions { [bool] $preflightSupported [string[]] $preflightOptions } function New-AzureNativeTypeProviderhubResourceProviderManifestPropertiesTemplateDeploymentOptions { param ( [parameter(mandatory=$False,HelpMessage=')')] [bool] $preflightSupported, [parameter(mandatory=$False,HelpMessage=')')] $preflightOptions ) process { return $([ResourceProviderManifestPropertiesTemplateDeploymentOptions]$PSBoundParameters) } } class ServiceTreeInfo { [string] $serviceId [string] $componentId } function New-AzureNativeTypeProviderhubServiceTreeInfo { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $serviceId, [parameter(mandatory=$False,HelpMessage=')')] [string] $componentId ) process { return $([ServiceTreeInfo]$PSBoundParameters) } } class ResourceProviderManifestPropertiesManagement { [ArgumentCompletions('NotSpecified', 'AcisReadAllowed', 'AcisActionAllowed')] [string] $resourceAccessPolicy [string[]] $manifestOwners [string] $incidentRoutingTeam [string] $incidentContactEmail [ServiceTreeInfo[]] $serviceTreeInfos [string[]] $schemaOwners [object[]] $resourceAccessRoles [string] $incidentRoutingService } function New-AzureNativeTypeProviderhubResourceProviderManifestPropertiesManagement { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'AcisReadAllowed', 'AcisActionAllowed')] $resourceAccessPolicy, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $manifestOwners, [parameter(mandatory=$False,HelpMessage=')')] [string] $incidentRoutingTeam, [parameter(mandatory=$False,HelpMessage=')')] [string] $incidentContactEmail, [parameter(mandatory=$False,HelpMessage=')')] $serviceTreeInfos, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $schemaOwners, [parameter(mandatory=$False,HelpMessage=')')] $resourceAccessRoles, [parameter(mandatory=$False,HelpMessage=')')] [string] $incidentRoutingService ) process { return $([ResourceProviderManifestPropertiesManagement]$PSBoundParameters) } } class ResourceProviderManifestPropertiesProviderAuthentication { [string[]] $allowedAudiences } function New-AzureNativeTypeProviderhubResourceProviderManifestPropertiesProviderAuthentication { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $allowedAudiences ) process { return $([ResourceProviderManifestPropertiesProviderAuthentication]$PSBoundParameters) } } class LightHouseAuthorization { [string] $roleDefinitionId [string] $principalId } function New-AzureNativeTypeProviderhubLightHouseAuthorization { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $roleDefinitionId, [parameter(mandatory=$False,HelpMessage=')')] [string] $principalId ) process { return $([LightHouseAuthorization]$PSBoundParameters) } } class ProviderHubMetadataThirdPartyProviderAuthorization { [string] $managedByTenantId [LightHouseAuthorization[]] $authorizations } function New-AzureNativeTypeProviderhubProviderHubMetadataThirdPartyProviderAuthorization { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $managedByTenantId, [parameter(mandatory=$False,HelpMessage=')')] $authorizations ) process { return $([ProviderHubMetadataThirdPartyProviderAuthorization]$PSBoundParameters) } } class ProviderHubMetadataProviderAuthentication { [string[]] $allowedAudiences } function New-AzureNativeTypeProviderhubProviderHubMetadataProviderAuthentication { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $allowedAudiences ) process { return $([ProviderHubMetadataProviderAuthentication]$PSBoundParameters) } } class ProviderRegistrationPropertiesProviderHubMetadata { [ProviderHubMetadataThirdPartyProviderAuthorization] $thirdPartyProviderAuthorization [ResourceProviderAuthorization[]] $providerAuthorizations [ProviderHubMetadataProviderAuthentication] $providerAuthentication } function New-AzureNativeTypeProviderhubProviderRegistrationPropertiesProviderHubMetadata { param ( [parameter(mandatory=$False,HelpMessage=')')] [ProviderHubMetadataThirdPartyProviderAuthorization] $thirdPartyProviderAuthorization, [parameter(mandatory=$False,HelpMessage=')')] $providerAuthorizations, [parameter(mandatory=$False,HelpMessage=')')] [ProviderHubMetadataProviderAuthentication] $providerAuthentication ) process { return $([ProviderRegistrationPropertiesProviderHubMetadata]$PSBoundParameters) } } class ResourceProviderCapabilities { [string] $quotaId [string[]] $requiredFeatures [ArgumentCompletions('NotSpecified', 'Allow', 'Disallow')] [string] $effect } function New-AzureNativeTypeProviderhubResourceProviderCapabilities { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $quotaId, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $requiredFeatures, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Allow', 'Disallow')] $effect ) process { return $([ResourceProviderCapabilities]$PSBoundParameters) } } class ResourceProviderManifestPropertiesFeaturesRule { [ArgumentCompletions('Any', 'All')] [string] $requiredFeaturesPolicy } function New-AzureNativeTypeProviderhubResourceProviderManifestPropertiesFeaturesRule { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('Any', 'All')] $requiredFeaturesPolicy ) process { return $([ResourceProviderManifestPropertiesFeaturesRule]$PSBoundParameters) } } class ProviderRegistrationProperties { [ProviderRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications] $subscriptionLifecycleNotificationSpecifications [ArgumentCompletions('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] [string] $provisioningState [ResourceProviderManifestPropertiesRequestHeaderOptions] $requestHeaderOptions [ResourceProviderAuthorization[]] $providerAuthorizations [ResourceProviderManifestPropertiesTemplateDeploymentOptions] $templateDeploymentOptions [ResourceProviderManifestPropertiesManagement] $management [string[]] $requiredFeatures [ResourceProviderManifestPropertiesProviderAuthentication] $providerAuthentication [ProviderRegistrationPropertiesProviderHubMetadata] $providerHubMetadata [string] $providerVersion [ArgumentCompletions('NotSpecified', 'Internal', 'External', 'Hidden', 'RegistrationFree', 'LegacyRegistrationRequired', 'TenantOnly', 'AuthorizationFree')] [string] $providerType [string] $namespace [ResourceProviderCapabilities[]] $capabilities [ResourceProviderManifestPropertiesFeaturesRule] $featuresRule [object] $metadata } function New-AzureNativeTypeProviderhubProviderRegistrationProperties { param ( [parameter(mandatory=$False,HelpMessage=')')] [ProviderRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications] $subscriptionLifecycleNotificationSpecifications, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] $provisioningState, [parameter(mandatory=$False,HelpMessage=')')] [ResourceProviderManifestPropertiesRequestHeaderOptions] $requestHeaderOptions, [parameter(mandatory=$False,HelpMessage=')')] $providerAuthorizations, [parameter(mandatory=$False,HelpMessage=')')] [ResourceProviderManifestPropertiesTemplateDeploymentOptions] $templateDeploymentOptions, [parameter(mandatory=$False,HelpMessage=')')] [ResourceProviderManifestPropertiesManagement] $management, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $requiredFeatures, [parameter(mandatory=$False,HelpMessage=')')] [ResourceProviderManifestPropertiesProviderAuthentication] $providerAuthentication, [parameter(mandatory=$False,HelpMessage=')')] [ProviderRegistrationPropertiesProviderHubMetadata] $providerHubMetadata, [parameter(mandatory=$False,HelpMessage=')')] [string] $providerVersion, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Internal', 'External', 'Hidden', 'RegistrationFree', 'LegacyRegistrationRequired', 'TenantOnly', 'AuthorizationFree')] $providerType, [parameter(mandatory=$False,HelpMessage=')')] [string] $namespace, [parameter(mandatory=$False,HelpMessage=')')] $capabilities, [parameter(mandatory=$False,HelpMessage=')')] [ResourceProviderManifestPropertiesFeaturesRule] $featuresRule, [parameter(mandatory=$False,HelpMessage=')')] $metadata ) process { return $([ProviderRegistrationProperties]$PSBoundParameters) } } function New-AzureNativeProviderhubProviderRegistration { [Alias('azure_native_providerhub_providerregistration')] param ( [parameter(mandatory=$False,HelpMessage=')')] [ProviderRegistrationProperties] $properties, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:ProviderRegistration") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } if($PSBoundParameters.Keys -icontains 'providerNamespace') { $resource.properties["providerNamespace"] = $providerNamespace } $global:pulumiresources += $resource return $resource } } class DefaultRolloutPropertiesStatus { [ArgumentCompletions('NotSpecified', 'Canary', 'LowTraffic', 'MediumTraffic', 'HighTraffic', 'None', 'RestOfTheWorldGroupOne', 'RestOfTheWorldGroupTwo')] [string] $nextTrafficRegion [string] $nextTrafficRegionScheduledTime [object] $failedOrSkippedRegions [ArgumentCompletions('NotApplicable', 'ConditionalUpdate', 'ForcedUpdate', 'Failed')] [string] $subscriptionReregistrationResult [string[]] $completedRegions } class TypedErrorInfo { [string] $type } function New-AzureNativeTypeProviderhubTypedErrorInfo { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $type ) process { return $([TypedErrorInfo]$PSBoundParameters) } } class ExtendedErrorInfo { [TypedErrorInfo[]] $additionalInfo [string] $code [string] $target [ExtendedErrorInfo[]] $details [string] $message } function New-AzureNativeTypeProviderhubExtendedErrorInfo { param ( [parameter(mandatory=$False,HelpMessage=')')] $additionalInfo, [parameter(mandatory=$False,HelpMessage=')')] [string] $code, [parameter(mandatory=$False,HelpMessage=')')] [string] $target, [parameter(mandatory=$False,HelpMessage=')')] $details, [parameter(mandatory=$False,HelpMessage=')')] [string] $message ) process { return $([ExtendedErrorInfo]$PSBoundParameters) } } function New-AzureNativeTypeProviderhubDefaultRolloutPropertiesStatus { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Canary', 'LowTraffic', 'MediumTraffic', 'HighTraffic', 'None', 'RestOfTheWorldGroupOne', 'RestOfTheWorldGroupTwo')] $nextTrafficRegion, [parameter(mandatory=$False,HelpMessage=')')] [string] $nextTrafficRegionScheduledTime, [parameter(mandatory=$False,HelpMessage=')')] [ExtendedErrorInfo] $failedOrSkippedRegions, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotApplicable', 'ConditionalUpdate', 'ForcedUpdate', 'Failed')] $subscriptionReregistrationResult, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $completedRegions ) process { return $([DefaultRolloutPropertiesStatus]$PSBoundParameters) } } class ThrottlingMetric { [ArgumentCompletions('NotSpecified', 'NumberOfRequests', 'NumberOfResources')] [string] $type [string] $interval [int] $limit } function New-AzureNativeTypeProviderhubThrottlingMetric { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'NumberOfRequests', 'NumberOfResources')] $type, [parameter(mandatory=$False,HelpMessage=')')] [string] $interval, [parameter(mandatory=$False,HelpMessage=')')] [int] $limit ) process { return $([ThrottlingMetric]$PSBoundParameters) } } class ThrottlingRule { [string] $action [string[]] $requiredFeatures [ThrottlingMetric[]] $metrics } function New-AzureNativeTypeProviderhubThrottlingRule { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $action, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $requiredFeatures, [parameter(mandatory=$False,HelpMessage=')')] $metrics ) process { return $([ThrottlingRule]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesCheckNameAvailabilitySpecifications { [string[]] $resourceTypesWithCustomValidation [bool] $enableDefaultValidation } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesCheckNameAvailabilitySpecifications { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $resourceTypesWithCustomValidation, [parameter(mandatory=$False,HelpMessage=')')] [bool] $enableDefaultValidation ) process { return $([ResourceTypeRegistrationPropertiesCheckNameAvailabilitySpecifications]$PSBoundParameters) } } class ResourceTypeExtensionOptionsResourceCreationBegin { [string[]] $response [string[]] $request } function New-AzureNativeTypeProviderhubResourceTypeExtensionOptionsResourceCreationBegin { param ( [parameter(mandatory=$False,HelpMessage=')')] $response, [parameter(mandatory=$False,HelpMessage=')')] $request ) process { return $([ResourceTypeExtensionOptionsResourceCreationBegin]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesExtensionOptions { [ResourceTypeExtensionOptionsResourceCreationBegin] $resourceCreationBegin } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesExtensionOptions { param ( [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeExtensionOptionsResourceCreationBegin] $resourceCreationBegin ) process { return $([ResourceTypeRegistrationPropertiesExtensionOptions]$PSBoundParameters) } } class LinkedAccessCheck { [string] $actionName [string] $linkedType [string] $linkedActionVerb [string] $linkedAction [string] $linkedProperty } function New-AzureNativeTypeProviderhubLinkedAccessCheck { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $actionName, [parameter(mandatory=$False,HelpMessage=')')] [string] $linkedType, [parameter(mandatory=$False,HelpMessage=')')] [string] $linkedActionVerb, [parameter(mandatory=$False,HelpMessage=')')] [string] $linkedAction, [parameter(mandatory=$False,HelpMessage=')')] [string] $linkedProperty ) process { return $([LinkedAccessCheck]$PSBoundParameters) } } class SwaggerSpecification { [string[]] $apiVersions [string] $swaggerSpecFolderUri } function New-AzureNativeTypeProviderhubSwaggerSpecification { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $apiVersions, [parameter(mandatory=$False,HelpMessage=')')] [string] $swaggerSpecFolderUri ) process { return $([SwaggerSpecification]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesFeaturesRule { [ArgumentCompletions('Any', 'All')] [string] $requiredFeaturesPolicy } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesFeaturesRule { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('Any', 'All')] $requiredFeaturesPolicy ) process { return $([ResourceTypeRegistrationPropertiesFeaturesRule]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications { [SubscriptionStateOverrideAction[]] $subscriptionStateOverrideActions [string] $softDeleteTTL } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications { param ( [parameter(mandatory=$False,HelpMessage=')')] $subscriptionStateOverrideActions, [parameter(mandatory=$False,HelpMessage=')')] [string] $softDeleteTTL ) process { return $([ResourceTypeRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesRequestHeaderOptions { [ArgumentCompletions('NotSpecified', 'SignedUserToken', 'ClientGroupMembership', 'SignedAuxiliaryTokens', 'UnboundedClientGroupMembership')] [string] $optInHeaders } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesRequestHeaderOptions { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'SignedUserToken', 'ClientGroupMembership', 'SignedAuxiliaryTokens', 'UnboundedClientGroupMembership')] $optInHeaders ) process { return $([ResourceTypeRegistrationPropertiesRequestHeaderOptions]$PSBoundParameters) } } class AuthorizationActionMapping { [string] $original [string] $desired } function New-AzureNativeTypeProviderhubAuthorizationActionMapping { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $original, [parameter(mandatory=$False,HelpMessage=')')] [string] $desired ) process { return $([AuthorizationActionMapping]$PSBoundParameters) } } class SubscriptionStateRule { [string[]] $allowedActions [ArgumentCompletions('NotDefined', 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted')] [string] $state } function New-AzureNativeTypeProviderhubSubscriptionStateRule { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $allowedActions, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotDefined', 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted')] $state ) process { return $([SubscriptionStateRule]$PSBoundParameters) } } class ExtendedLocationOptions { [string] $type [string] $supportedPolicy } function New-AzureNativeTypeProviderhubExtendedLocationOptions { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $type, [parameter(mandatory=$False,HelpMessage=')')] [string] $supportedPolicy ) process { return $([ExtendedLocationOptions]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesIdentityManagement { [string] $applicationId [ArgumentCompletions('NotSpecified', 'SystemAssigned', 'UserAssigned', 'Actor', 'DelegatedResourceIdentity')] [string] $type } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesIdentityManagement { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $applicationId, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'SystemAssigned', 'UserAssigned', 'Actor', 'DelegatedResourceIdentity')] $type ) process { return $([ResourceTypeRegistrationPropertiesIdentityManagement]$PSBoundParameters) } } class LoggingRuleHiddenPropertyPaths { [string[]] $hiddenPathsOnResponse [string[]] $hiddenPathsOnRequest } function New-AzureNativeTypeProviderhubLoggingRuleHiddenPropertyPaths { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $hiddenPathsOnResponse, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $hiddenPathsOnRequest ) process { return $([LoggingRuleHiddenPropertyPaths]$PSBoundParameters) } } class LoggingRule { [ArgumentCompletions('None', 'Body')] [string] $detailLevel [string] $action [ArgumentCompletions('None', 'Request', 'Response')] [string] $direction [LoggingRuleHiddenPropertyPaths] $hiddenPropertyPaths } function New-AzureNativeTypeProviderhubLoggingRule { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('None', 'Body')] $detailLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $action, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('None', 'Request', 'Response')] $direction, [parameter(mandatory=$False,HelpMessage=')')] [LoggingRuleHiddenPropertyPaths] $hiddenPropertyPaths ) process { return $([LoggingRule]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesTemplateDeploymentOptions { [bool] $preflightSupported [string[]] $preflightOptions } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesTemplateDeploymentOptions { param ( [parameter(mandatory=$False,HelpMessage=')')] [bool] $preflightSupported, [parameter(mandatory=$False,HelpMessage=')')] $preflightOptions ) process { return $([ResourceTypeRegistrationPropertiesTemplateDeploymentOptions]$PSBoundParameters) } } class ResourceTypeRegistrationPropertiesResourceMovePolicy { [bool] $crossResourceGroupMoveEnabled [bool] $validationRequired [bool] $crossSubscriptionMoveEnabled } function New-AzureNativeTypeProviderhubResourceTypeRegistrationPropertiesResourceMovePolicy { param ( [parameter(mandatory=$False,HelpMessage=')')] [bool] $crossResourceGroupMoveEnabled, [parameter(mandatory=$False,HelpMessage=')')] [bool] $validationRequired, [parameter(mandatory=$False,HelpMessage=')')] [bool] $crossSubscriptionMoveEnabled ) process { return $([ResourceTypeRegistrationPropertiesResourceMovePolicy]$PSBoundParameters) } } class ResourceTypeExtension { [string] $timeout [string[]] $extensionCategories [string] $endpointUri } function New-AzureNativeTypeProviderhubResourceTypeExtension { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $timeout, [parameter(mandatory=$False,HelpMessage=')')] $extensionCategories, [parameter(mandatory=$False,HelpMessage=')')] [string] $endpointUri ) process { return $([ResourceTypeExtension]$PSBoundParameters) } } class ResourceTypeEndpointFeaturesRule { [ArgumentCompletions('Any', 'All')] [string] $requiredFeaturesPolicy } function New-AzureNativeTypeProviderhubResourceTypeEndpointFeaturesRule { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('Any', 'All')] $requiredFeaturesPolicy ) process { return $([ResourceTypeEndpointFeaturesRule]$PSBoundParameters) } } class ResourceTypeEndpoint { [ResourceTypeExtension[]] $extensions [string[]] $requiredFeatures [string[]] $locations [ResourceTypeEndpointFeaturesRule] $featuresRule [string] $timeout [bool] $enabled [string[]] $apiVersions } function New-AzureNativeTypeProviderhubResourceTypeEndpoint { param ( [parameter(mandatory=$False,HelpMessage=')')] $extensions, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $requiredFeatures, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $locations, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeEndpointFeaturesRule] $featuresRule, [parameter(mandatory=$False,HelpMessage=')')] [string] $timeout, [parameter(mandatory=$False,HelpMessage=')')] [bool] $enabled, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $apiVersions ) process { return $([ResourceTypeEndpoint]$PSBoundParameters) } } class ResourceTypeRegistrationProperties { [ServiceTreeInfo[]] $serviceTreeInfos [ThrottlingRule[]] $throttlingRules [string] $defaultApiVersion [ResourceTypeRegistrationPropertiesCheckNameAvailabilitySpecifications] $checkNameAvailabilitySpecifications [ArgumentCompletions('Default', 'ProxyOnly', 'HostBased', 'Extension', 'Tenant', 'Fanout', 'LocationBased', 'Failover', 'CascadeExtension')] [string] $routingType [ResourceTypeRegistrationPropertiesExtensionOptions] $extensionOptions [string[]] $disallowedActionVerbs [ArgumentCompletions('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] [string] $provisioningState [LinkedAccessCheck[]] $linkedAccessChecks [ArgumentCompletions('NotSpecified', 'CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren')] [string] $resourceDeletionPolicy [SwaggerSpecification[]] $swaggerSpecifications [bool] $enableAsyncOperation [ResourceTypeRegistrationPropertiesFeaturesRule] $featuresRule [ResourceTypeRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications] $subscriptionLifecycleNotificationSpecifications [ArgumentCompletions('NotSpecified', 'AddOn', 'Bypass', 'Store')] [string] $marketplaceType [bool] $enableThirdPartyS2S [ResourceTypeRegistrationPropertiesRequestHeaderOptions] $requestHeaderOptions [AuthorizationActionMapping[]] $authorizationActionMappings [SubscriptionStateRule[]] $subscriptionStateRules [bool] $isPureProxy [ExtendedLocationOptions[]] $extendedLocations [ResourceTypeRegistrationPropertiesIdentityManagement] $identityManagement [string[]] $requiredFeatures [LoggingRule[]] $loggingRules [ResourceTypeRegistrationPropertiesTemplateDeploymentOptions] $templateDeploymentOptions [ResourceTypeRegistrationPropertiesResourceMovePolicy] $resourceMovePolicy [string[]] $allowedUnauthorizedActions [ResourceTypeEndpoint[]] $endpoints [ArgumentCompletions('NotSpecified', 'Global', 'Regional')] [string] $regionality } function New-AzureNativeTypeProviderhubResourceTypeRegistrationProperties { param ( [parameter(mandatory=$False,HelpMessage=')')] $serviceTreeInfos, [parameter(mandatory=$False,HelpMessage=')')] $throttlingRules, [parameter(mandatory=$False,HelpMessage=')')] [string] $defaultApiVersion, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesCheckNameAvailabilitySpecifications] $checkNameAvailabilitySpecifications, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('Default', 'ProxyOnly', 'HostBased', 'Extension', 'Tenant', 'Fanout', 'LocationBased', 'Failover', 'CascadeExtension')] $routingType, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesExtensionOptions] $extensionOptions, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $disallowedActionVerbs, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] $provisioningState, [parameter(mandatory=$False,HelpMessage=')')] $linkedAccessChecks, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren')] $resourceDeletionPolicy, [parameter(mandatory=$False,HelpMessage=')')] $swaggerSpecifications, [parameter(mandatory=$False,HelpMessage=')')] [bool] $enableAsyncOperation, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesFeaturesRule] $featuresRule, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesSubscriptionLifecycleNotificationSpecifications] $subscriptionLifecycleNotificationSpecifications, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'AddOn', 'Bypass', 'Store')] $marketplaceType, [parameter(mandatory=$False,HelpMessage=')')] [bool] $enableThirdPartyS2S, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesRequestHeaderOptions] $requestHeaderOptions, [parameter(mandatory=$False,HelpMessage=')')] $authorizationActionMappings, [parameter(mandatory=$False,HelpMessage=')')] $subscriptionStateRules, [parameter(mandatory=$False,HelpMessage=')')] [bool] $isPureProxy, [parameter(mandatory=$False,HelpMessage=')')] $extendedLocations, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesIdentityManagement] $identityManagement, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $requiredFeatures, [parameter(mandatory=$False,HelpMessage=')')] $loggingRules, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesTemplateDeploymentOptions] $templateDeploymentOptions, [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationPropertiesResourceMovePolicy] $resourceMovePolicy, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $allowedUnauthorizedActions, [parameter(mandatory=$False,HelpMessage=')')] $endpoints, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Global', 'Regional')] $regionality ) process { return $([ResourceTypeRegistrationProperties]$PSBoundParameters) } } class ResourceTypeRegistration { [ResourceTypeRegistrationProperties] $properties } function New-AzureNativeTypeProviderhubResourceTypeRegistration { param ( [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationProperties] $properties ) process { return $([ResourceTypeRegistration]$PSBoundParameters) } } class DefaultRolloutSpecificationLowTraffic { [string] $waitDuration [string[]] $regions } function New-AzureNativeTypeProviderhubDefaultRolloutSpecificationLowTraffic { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $waitDuration, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $regions ) process { return $([DefaultRolloutSpecificationLowTraffic]$PSBoundParameters) } } class DefaultRolloutSpecificationProviderRegistration { [ProviderRegistrationProperties] $properties } function New-AzureNativeTypeProviderhubDefaultRolloutSpecificationProviderRegistration { param ( [parameter(mandatory=$False,HelpMessage=')')] [ProviderRegistrationProperties] $properties ) process { return $([DefaultRolloutSpecificationProviderRegistration]$PSBoundParameters) } } class DefaultRolloutSpecificationHighTraffic { [string] $waitDuration [string[]] $regions } function New-AzureNativeTypeProviderhubDefaultRolloutSpecificationHighTraffic { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $waitDuration, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $regions ) process { return $([DefaultRolloutSpecificationHighTraffic]$PSBoundParameters) } } class DefaultRolloutSpecificationMediumTraffic { [string] $waitDuration [string[]] $regions } function New-AzureNativeTypeProviderhubDefaultRolloutSpecificationMediumTraffic { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $waitDuration, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $regions ) process { return $([DefaultRolloutSpecificationMediumTraffic]$PSBoundParameters) } } class DefaultRolloutSpecificationRestOfTheWorldGroupTwo { [string] $waitDuration [string[]] $regions } function New-AzureNativeTypeProviderhubDefaultRolloutSpecificationRestOfTheWorldGroupTwo { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $waitDuration, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $regions ) process { return $([DefaultRolloutSpecificationRestOfTheWorldGroupTwo]$PSBoundParameters) } } class DefaultRolloutSpecificationCanary { [string[]] $skipRegions [string[]] $regions } function New-AzureNativeTypeProviderhubDefaultRolloutSpecificationCanary { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $skipRegions, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $regions ) process { return $([DefaultRolloutSpecificationCanary]$PSBoundParameters) } } class DefaultRolloutSpecificationRestOfTheWorldGroupOne { [string] $waitDuration [string[]] $regions } function New-AzureNativeTypeProviderhubDefaultRolloutSpecificationRestOfTheWorldGroupOne { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $waitDuration, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $regions ) process { return $([DefaultRolloutSpecificationRestOfTheWorldGroupOne]$PSBoundParameters) } } class DefaultRolloutPropertiesSpecification { [ResourceTypeRegistration[]] $resourceTypeRegistrations [DefaultRolloutSpecificationLowTraffic] $lowTraffic [DefaultRolloutSpecificationProviderRegistration] $providerRegistration [DefaultRolloutSpecificationHighTraffic] $highTraffic [DefaultRolloutSpecificationMediumTraffic] $mediumTraffic [DefaultRolloutSpecificationRestOfTheWorldGroupTwo] $restOfTheWorldGroupTwo [DefaultRolloutSpecificationCanary] $canary [DefaultRolloutSpecificationRestOfTheWorldGroupOne] $restOfTheWorldGroupOne } function New-AzureNativeTypeProviderhubDefaultRolloutPropertiesSpecification { param ( [parameter(mandatory=$False,HelpMessage=')')] $resourceTypeRegistrations, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutSpecificationLowTraffic] $lowTraffic, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutSpecificationProviderRegistration] $providerRegistration, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutSpecificationHighTraffic] $highTraffic, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutSpecificationMediumTraffic] $mediumTraffic, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutSpecificationRestOfTheWorldGroupTwo] $restOfTheWorldGroupTwo, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutSpecificationCanary] $canary, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutSpecificationRestOfTheWorldGroupOne] $restOfTheWorldGroupOne ) process { return $([DefaultRolloutPropertiesSpecification]$PSBoundParameters) } } class DefaultRolloutProperties { [DefaultRolloutPropertiesStatus] $status [DefaultRolloutPropertiesSpecification] $specification [ArgumentCompletions('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] [string] $provisioningState } function New-AzureNativeTypeProviderhubDefaultRolloutProperties { param ( [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutPropertiesStatus] $status, [parameter(mandatory=$False,HelpMessage=')')] [DefaultRolloutPropertiesSpecification] $specification, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] $provisioningState ) process { return $([DefaultRolloutProperties]$PSBoundParameters) } } function New-AzureNativeProviderhubDefaultRollout { [Alias('azure_native_providerhub_defaultrollout')] param ( [parameter(mandatory=$False,HelpMessage='Properties of the rollout.)')] [DefaultRolloutProperties] $properties, [parameter(mandatory=$False,HelpMessage='The rollout name.)')] [string] $rolloutName, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:DefaultRollout") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["providerNamespace"] = $providerNamespace if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } if($PSBoundParameters.Keys -icontains 'rolloutName') { $resource.properties["rolloutName"] = $rolloutName } $global:pulumiresources += $resource return $resource } } class SkuCost { [string] $extendedUnit [int] $quantity [string] $meterId } function New-AzureNativeTypeProviderhubSkuCost { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $extendedUnit, [parameter(mandatory=$False,HelpMessage=')')] [int] $quantity, [parameter(mandatory=$False,HelpMessage=')')] [string] $meterId ) process { return $([SkuCost]$PSBoundParameters) } } class SkuCapability { [string] $name [string] $value } function New-AzureNativeTypeProviderhubSkuCapability { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $name, [parameter(mandatory=$False,HelpMessage=')')] [string] $value ) process { return $([SkuCapability]$PSBoundParameters) } } class SkuZoneDetail { [string[]] $name [SkuCapability[]] $capabilities } function New-AzureNativeTypeProviderhubSkuZoneDetail { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $name, [parameter(mandatory=$False,HelpMessage=')')] $capabilities ) process { return $([SkuZoneDetail]$PSBoundParameters) } } class SkuLocationInfo { [string] $location [SkuZoneDetail[]] $zoneDetails [ArgumentCompletions('NotSpecified', 'EdgeZone', 'ArcZone')] [string] $type [string[]] $extendedLocations [string[]] $zones } function New-AzureNativeTypeProviderhubSkuLocationInfo { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $location, [parameter(mandatory=$False,HelpMessage=')')] $zoneDetails, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'EdgeZone', 'ArcZone')] $type, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $extendedLocations, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $zones ) process { return $([SkuLocationInfo]$PSBoundParameters) } } class SkuSettingCapacity { [ArgumentCompletions('None', 'Manual', 'Automatic')] [string] $scaleType [int] $minimum [int] $maximum [int] $default } function New-AzureNativeTypeProviderhubSkuSettingCapacity { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('None', 'Manual', 'Automatic')] $scaleType, [parameter(mandatory=$False,HelpMessage=')')] [int] $minimum, [parameter(mandatory=$False,HelpMessage=')')] [int] $maximum, [parameter(mandatory=$False,HelpMessage=')')] [int] $default ) process { return $([SkuSettingCapacity]$PSBoundParameters) } } class SkuSetting { [string[]] $requiredQuotaIds [string] $family [SkuCost[]] $costs [SkuLocationInfo[]] $locationInfo [string[]] $locations [SkuCapability[]] $capabilities [SkuSettingCapacity] $capacity [string[]] $requiredFeatures [string] $name [string] $tier [string] $size [string] $kind } function New-AzureNativeTypeProviderhubSkuSetting { param ( [parameter(mandatory=$False,HelpMessage=')')] [string[]] $requiredQuotaIds, [parameter(mandatory=$False,HelpMessage=')')] [string] $family, [parameter(mandatory=$False,HelpMessage=')')] $costs, [parameter(mandatory=$False,HelpMessage=')')] $locationInfo, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $locations, [parameter(mandatory=$False,HelpMessage=')')] $capabilities, [parameter(mandatory=$False,HelpMessage=')')] [SkuSettingCapacity] $capacity, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $requiredFeatures, [parameter(mandatory=$False,HelpMessage=')')] [string] $name, [parameter(mandatory=$False,HelpMessage=')')] [string] $tier, [parameter(mandatory=$False,HelpMessage=')')] [string] $size, [parameter(mandatory=$False,HelpMessage=')')] [string] $kind ) process { return $([SkuSetting]$PSBoundParameters) } } class SkuResourceProperties { [ArgumentCompletions('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] [string] $provisioningState [SkuSetting[]] $skuSettings } function New-AzureNativeTypeProviderhubSkuResourceProperties { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] $provisioningState, [parameter(mandatory=$False,HelpMessage=')')] $skuSettings ) process { return $([SkuResourceProperties]$PSBoundParameters) } } function New-AzureNativeProviderhubSkusNestedResourceTypeThird { [Alias('azure_native_providerhub_skusnestedresourcetypethird')] param ( [parameter(mandatory=$False,HelpMessage='The third child resource type.)')] [string] $nestedResourceTypeThird, [parameter(mandatory=$False,HelpMessage=')')] [SkuResourceProperties] $properties, [parameter(mandatory=$False,HelpMessage='The first child resource type.)')] [string] $nestedResourceTypeFirst, [parameter(mandatory=$False,HelpMessage='The second child resource type.)')] [string] $nestedResourceTypeSecond, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:SkusNestedResourceTypeThird") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["nestedResourceTypeFirst"] = $nestedResourceTypeFirst $resource.properties["nestedResourceTypeSecond"] = $nestedResourceTypeSecond $resource.properties["nestedResourceTypeThird"] = $nestedResourceTypeThird $resource.properties["providerNamespace"] = $providerNamespace $resource.properties["resourceType"] = $resourceType if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } $global:pulumiresources += $resource return $resource } } function New-AzureNativeProviderhubResourceTypeRegistration { [Alias('azure_native_providerhub_resourcetyperegistration')] param ( [parameter(mandatory=$False,HelpMessage=')')] [ResourceTypeRegistrationProperties] $properties, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:ResourceTypeRegistration") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["providerNamespace"] = $providerNamespace if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } if($PSBoundParameters.Keys -icontains 'resourceType') { $resource.properties["resourceType"] = $resourceType } $global:pulumiresources += $resource return $resource } } function New-AzureNativeProviderhubSkusNestedResourceTypeSecond { [Alias('azure_native_providerhub_skusnestedresourcetypesecond')] param ( [parameter(mandatory=$False,HelpMessage=')')] [SkuResourceProperties] $properties, [parameter(mandatory=$False,HelpMessage='The first child resource type.)')] [string] $nestedResourceTypeFirst, [parameter(mandatory=$False,HelpMessage='The second child resource type.)')] [string] $nestedResourceTypeSecond, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:SkusNestedResourceTypeSecond") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["nestedResourceTypeFirst"] = $nestedResourceTypeFirst $resource.properties["nestedResourceTypeSecond"] = $nestedResourceTypeSecond $resource.properties["providerNamespace"] = $providerNamespace $resource.properties["resourceType"] = $resourceType if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } $global:pulumiresources += $resource return $resource } } class NotificationEndpoint { [string] $notificationDestination [string[]] $locations } function New-AzureNativeTypeProviderhubNotificationEndpoint { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $notificationDestination, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $locations ) process { return $([NotificationEndpoint]$PSBoundParameters) } } class NotificationRegistrationProperties { [ArgumentCompletions('NotSpecified', 'RegisteredSubscriptions')] [string] $messageScope [ArgumentCompletions('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] [string] $provisioningState [string[]] $includedEvents [NotificationEndpoint[]] $notificationEndpoints [ArgumentCompletions('NotSpecified', 'EventHub', 'WebHook')] [string] $notificationMode } function New-AzureNativeTypeProviderhubNotificationRegistrationProperties { param ( [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'RegisteredSubscriptions')] $messageScope, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'Accepted', 'Running', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'MovingResources', 'TransientFailure', 'RolloutInProgress')] $provisioningState, [parameter(mandatory=$False,HelpMessage=')')] [string[]] $includedEvents, [parameter(mandatory=$False,HelpMessage=')')] $notificationEndpoints, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('NotSpecified', 'EventHub', 'WebHook')] $notificationMode ) process { return $([NotificationRegistrationProperties]$PSBoundParameters) } } function New-AzureNativeProviderhubNotificationRegistration { [Alias('azure_native_providerhub_notificationregistration')] param ( [parameter(mandatory=$False,HelpMessage='The notification registration.)')] [string] $notificationRegistrationName, [parameter(mandatory=$False,HelpMessage=')')] [NotificationRegistrationProperties] $properties, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:NotificationRegistration") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["providerNamespace"] = $providerNamespace if($PSBoundParameters.Keys -icontains 'notificationRegistrationName') { $resource.properties["notificationRegistrationName"] = $notificationRegistrationName } if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } $global:pulumiresources += $resource return $resource } } function New-AzureNativeProviderhubSkusNestedResourceTypeFirst { [Alias('azure_native_providerhub_skusnestedresourcetypefirst')] param ( [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage=')')] [SkuResourceProperties] $properties, [parameter(mandatory=$False,HelpMessage='The first child resource type.)')] [string] $nestedResourceTypeFirst, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:SkusNestedResourceTypeFirst") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["nestedResourceTypeFirst"] = $nestedResourceTypeFirst $resource.properties["providerNamespace"] = $providerNamespace $resource.properties["resourceType"] = $resourceType if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } $global:pulumiresources += $resource return $resource } } function New-AzureNativeProviderhubOperationByProviderRegistration { [Alias('azure_native_providerhub_operationbyproviderregistration')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory=$False,HelpMessage=')')] $contents, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:OperationByProviderRegistration") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["contents"] = $contents $resource.properties["providerNamespace"] = $providerNamespace $global:pulumiresources += $resource return $resource } } function New-AzureNativeProviderhubSkus { [Alias('azure_native_providerhub_skus')] param ( [parameter(mandatory=$False,HelpMessage=')')] [SkuResourceProperties] $properties, [parameter(mandatory=$False,HelpMessage='The resource type.)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='The SKU.)')] [string] $sku, [parameter(mandatory=$False,HelpMessage='The name of the resource provider hosted within ProviderHub.)')] [string] $providerNamespace, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:providerhub:Skus") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["providerNamespace"] = $providerNamespace $resource.properties["resourceType"] = $resourceType if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } $global:pulumiresources += $resource return $resource } } |