pspulumiyaml.azurenative.eventhub.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionEventhubGetNamespaceIpFilterRule { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The IP Filter Rule name.)')] [string] $ipFilterRuleName ) process { $arguments = @{} $arguments["ipFilterRuleName"] = $ipFilterRuleName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getNamespaceIpFilterRule -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetEventHub { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Event Hub name)')] [string] $eventHubName ) process { $arguments = @{} $arguments["eventHubName"] = $eventHubName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getEventHub -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetNamespaceVirtualNetworkRule { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Virtual Network Rule name.)')] [string] $virtualNetworkRuleName ) process { $arguments = @{} $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $arguments["virtualNetworkRuleName"] = $virtualNetworkRuleName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getNamespaceVirtualNetworkRule -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetSchemaRegistry { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='The Schema Group name )')] [string] $schemaGroupName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $arguments["schemaGroupName"] = $schemaGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getSchemaRegistry -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetConsumerGroup { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Event Hub name)')] [string] $eventHubName, [parameter(mandatory=$False,HelpMessage='The consumer group name)')] [string] $consumerGroupName ) process { $arguments = @{} $arguments["consumerGroupName"] = $consumerGroupName $arguments["eventHubName"] = $eventHubName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getConsumerGroup -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetApplicationGroup { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Application Group name )')] [string] $applicationGroupName ) process { $arguments = @{} $arguments["applicationGroupName"] = $applicationGroupName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getApplicationGroup -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubListDisasterRecoveryConfigKeys { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='The authorization rule name.)')] [string] $authorizationRuleName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Disaster Recovery configuration name)')] [string] $alias ) process { $arguments = @{} $arguments["alias"] = $alias $arguments["authorizationRuleName"] = $authorizationRuleName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:listDisasterRecoveryConfigKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetEventHubAuthorizationRule { param ( [parameter(mandatory=$False,HelpMessage='The Event Hub name)')] [string] $eventHubName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The authorization rule name.)')] [string] $authorizationRuleName, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName ) process { $arguments = @{} $arguments["authorizationRuleName"] = $authorizationRuleName $arguments["eventHubName"] = $eventHubName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getEventHubAuthorizationRule -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetCluster { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the Event Hubs Cluster.)')] [string] $clusterName ) process { $arguments = @{} $arguments["clusterName"] = $clusterName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getCluster -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubListEventHubKeys { param ( [parameter(mandatory=$False,HelpMessage='The Event Hub name)')] [string] $eventHubName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The authorization rule name.)')] [string] $authorizationRuleName, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName ) process { $arguments = @{} $arguments["authorizationRuleName"] = $authorizationRuleName $arguments["eventHubName"] = $eventHubName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:listEventHubKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetNamespace { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName ) process { $arguments = @{} $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getNamespace -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetDisasterRecoveryConfig { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Disaster Recovery configuration name)')] [string] $alias ) process { $arguments = @{} $arguments["alias"] = $alias $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getDisasterRecoveryConfig -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetPrivateEndpointConnection { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='The PrivateEndpointConnection name)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["namespaceName"] = $namespaceName $arguments["privateEndpointConnectionName"] = $privateEndpointConnectionName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getPrivateEndpointConnection -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubListNamespaceKeys { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The authorization rule name.)')] [string] $authorizationRuleName ) process { $arguments = @{} $arguments["authorizationRuleName"] = $authorizationRuleName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:listNamespaceKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetNamespaceAuthorizationRule { param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The authorization rule name.)')] [string] $authorizationRuleName ) process { $arguments = @{} $arguments["authorizationRuleName"] = $authorizationRuleName $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getNamespaceAuthorizationRule -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionEventhubGetNamespaceNetworkRuleSet { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName ) process { $arguments = @{} $arguments["namespaceName"] = $namespaceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:eventhub:getNamespaceNetworkRuleSet -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeEventhubApplicationGroup { [Alias('azure_native_eventhub_applicationgroup')] param ( [parameter(mandatory=$False,HelpMessage='Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed)')] [bool] $isEnabled, [parameter(mandatory=$False,HelpMessage='The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid))')] [string] $clientAppGroupIdentifier, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Application Group name )')] [string] $applicationGroupName, [parameter(mandatory=$False,HelpMessage='List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.)')] $policies, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:ApplicationGroup") $resource.properties["clientAppGroupIdentifier"] = $clientAppGroupIdentifier $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'isEnabled') { $resource.properties["isEnabled"] = $isEnabled } if($PSBoundParameters.Keys -icontains 'applicationGroupName') { $resource.properties["applicationGroupName"] = $applicationGroupName } if($PSBoundParameters.Keys -icontains 'policies') { $resource.properties["policies"] = $policies } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubEventHubAuthorizationRule { [Alias('azure_native_eventhub_eventhubauthorizationrule')] param ( [parameter(mandatory=$False,HelpMessage='The Event Hub name)')] [string] $eventHubName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The authorization rule name.)')] [string] $authorizationRuleName, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='The rights associated with the rule.)')] $rights, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:EventHubAuthorizationRule") $resource.properties["eventHubName"] = $eventHubName $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["rights"] = $rights if($PSBoundParameters.Keys -icontains 'authorizationRuleName') { $resource.properties["authorizationRuleName"] = $authorizationRuleName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubNamespaceAuthorizationRule { [Alias('azure_native_eventhub_namespaceauthorizationrule')] param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The authorization rule name.)')] [string] $authorizationRuleName, [parameter(mandatory=$False,HelpMessage='The rights associated with the rule.)')] $rights, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:NamespaceAuthorizationRule") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["rights"] = $rights if($PSBoundParameters.Keys -icontains 'authorizationRuleName') { $resource.properties["authorizationRuleName"] = $authorizationRuleName } $global:pulumiresources += $resource return $resource } } class Sku { [int] $capacity [ValidateSet('Basic', 'Standard')] [string] $name [ValidateSet('Basic', 'Standard')] [string] $tier } function New-AzureNativeTypeEventhubSku { param ( [parameter(mandatory=$False,HelpMessage='The Event Hubs throughput units, value should be 0 to 20 throughput units.)')] [int] $capacity, [parameter(mandatory=$False,HelpMessage='Name of this SKU.)')] [string] [ValidateSet('Basic', 'Standard')] $name, [parameter(mandatory=$False,HelpMessage='The billing tier of this particular SKU.)')] [string] [ValidateSet('Basic', 'Standard')] $tier ) process { return $([Sku]$PSBoundParameters) } } function New-AzureNativeEventhubNamespace { [Alias('azure_native_eventhub_namespace')] param ( [parameter(mandatory=$False,HelpMessage='Properties of sku resource)')] [Sku] $sku, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Value that indicates whether Kafka is enabled for eventhub namespace.)')] [bool] $kafkaEnabled, [parameter(mandatory=$False,HelpMessage='Resource location.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( ''0'' if AutoInflateEnabled = true))')] [int] $maximumThroughputUnits, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Value that indicates whether AutoInflate is enabled for eventhub namespace.)')] [bool] $isAutoInflateEnabled, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:Namespace") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'kafkaEnabled') { $resource.properties["kafkaEnabled"] = $kafkaEnabled } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'maximumThroughputUnits') { $resource.properties["maximumThroughputUnits"] = $maximumThroughputUnits } if($PSBoundParameters.Keys -icontains 'namespaceName') { $resource.properties["namespaceName"] = $namespaceName } if($PSBoundParameters.Keys -icontains 'isAutoInflateEnabled') { $resource.properties["isAutoInflateEnabled"] = $isAutoInflateEnabled } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubConsumerGroup { [Alias('azure_native_eventhub_consumergroup')] param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.)')] [string] $userMetadata, [parameter(mandatory=$False,HelpMessage='The Event Hub name)')] [string] $eventHubName, [parameter(mandatory=$False,HelpMessage='The consumer group name)')] [string] $consumerGroupName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:ConsumerGroup") $resource.properties["eventHubName"] = $eventHubName $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'userMetadata') { $resource.properties["userMetadata"] = $userMetadata } if($PSBoundParameters.Keys -icontains 'consumerGroupName') { $resource.properties["consumerGroupName"] = $consumerGroupName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubNamespaceNetworkRuleSet { [Alias('azure_native_eventhub_namespacenetworkruleset')] param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='List VirtualNetwork Rules)')] $virtualNetworkRules, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Default Action for Network Rule Set)')] [string] [ValidateSet('Allow', 'Deny')] $defaultAction, [parameter(mandatory=$False,HelpMessage='List of IpRules)')] $ipRules, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:NamespaceNetworkRuleSet") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'virtualNetworkRules') { $resource.properties["virtualNetworkRules"] = $virtualNetworkRules } if($PSBoundParameters.Keys -icontains 'defaultAction') { $resource.properties["defaultAction"] = $defaultAction } if($PSBoundParameters.Keys -icontains 'ipRules') { $resource.properties["ipRules"] = $ipRules } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubNamespaceVirtualNetworkRule { [Alias('azure_native_eventhub_namespacevirtualnetworkrule')] param ( [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='ARM ID of Virtual Network Subnet)')] [string] $virtualNetworkSubnetId, [parameter(mandatory=$False,HelpMessage='The Virtual Network Rule name.)')] [string] $virtualNetworkRuleName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:NamespaceVirtualNetworkRule") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'virtualNetworkSubnetId') { $resource.properties["virtualNetworkSubnetId"] = $virtualNetworkSubnetId } if($PSBoundParameters.Keys -icontains 'virtualNetworkRuleName') { $resource.properties["virtualNetworkRuleName"] = $virtualNetworkRuleName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubSchemaRegistry { [Alias('azure_native_eventhub_schemaregistry')] param ( [parameter(mandatory=$False,HelpMessage='The Schema Group name )')] [string] $schemaGroupName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('Unknown', 'Avro')] $schemaType, [parameter(mandatory=$False,HelpMessage='dictionary object for SchemaGroup group properties)')] [hashtable] $groupProperties, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage=')')] [string] [ValidateSet('None', 'Backward', 'Forward')] $schemaCompatibility, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:SchemaRegistry") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'schemaGroupName') { $resource.properties["schemaGroupName"] = $schemaGroupName } if($PSBoundParameters.Keys -icontains 'schemaType') { $resource.properties["schemaType"] = $schemaType } if($PSBoundParameters.Keys -icontains 'groupProperties') { $resource.properties["groupProperties"] = $groupProperties } if($PSBoundParameters.Keys -icontains 'schemaCompatibility') { $resource.properties["schemaCompatibility"] = $schemaCompatibility } $global:pulumiresources += $resource return $resource } } class ClusterSku { [ValidateSet('Dedicated')] [string] $name [ValidateSet('Dedicated')] [int] $capacity } function New-AzureNativeTypeEventhubClusterSku { param ( [parameter(mandatory=$False,HelpMessage='Name of this SKU.)')] [string] [ValidateSet('Dedicated')] $name, [parameter(mandatory=$False,HelpMessage='The quantity of Event Hubs Cluster Capacity Units contained in this cluster.)')] [int] $capacity ) process { return $([ClusterSku]$PSBoundParameters) } } function New-AzureNativeEventhubCluster { [Alias('azure_native_eventhub_cluster')] param ( [parameter(mandatory=$False,HelpMessage='The name of the Event Hubs Cluster.)')] [string] $clusterName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Properties of the cluster SKU.)')] [ClusterSku] $sku, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Resource location.)')] [string] $location, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:Cluster") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'clusterName') { $resource.properties["clusterName"] = $clusterName } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } class PrivateEndpoint { [string] $id } function New-AzureNativeTypeEventhubPrivateEndpoint { param ( [parameter(mandatory=$False,HelpMessage='The ARM identifier for Private Endpoint.)')] [string] $id ) process { return $([PrivateEndpoint]$PSBoundParameters) } } class ConnectionState { [ValidateSet('Pending', 'Approved', 'Rejected', 'Disconnected')] [string] $status [ValidateSet('Pending', 'Approved', 'Rejected', 'Disconnected')] [string] $description } function New-AzureNativeTypeEventhubConnectionState { param ( [parameter(mandatory=$False,HelpMessage='Status of the connection.)')] [string] [ValidateSet('Pending', 'Approved', 'Rejected', 'Disconnected')] $status, [parameter(mandatory=$False,HelpMessage='Description of the connection state.)')] [string] $description ) process { return $([ConnectionState]$PSBoundParameters) } } function New-AzureNativeEventhubPrivateEndpointConnection { [Alias('azure_native_eventhub_privateendpointconnection')] param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The PrivateEndpointConnection name)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='Provisioning state of the Private Endpoint Connection.)')] [string] [ValidateSet('Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed')] $provisioningState, [parameter(mandatory=$False,HelpMessage='The Private Endpoint resource for this Connection.)')] [PrivateEndpoint] $privateEndpoint, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Details about the state of the connection.)')] [ConnectionState] $privateLinkServiceConnectionState, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:PrivateEndpointConnection") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'privateEndpointConnectionName') { $resource.properties["privateEndpointConnectionName"] = $privateEndpointConnectionName } if($PSBoundParameters.Keys -icontains 'provisioningState') { $resource.properties["provisioningState"] = $provisioningState } if($PSBoundParameters.Keys -icontains 'privateEndpoint') { $resource.properties["privateEndpoint"] = $privateEndpoint } if($PSBoundParameters.Keys -icontains 'privateLinkServiceConnectionState') { $resource.properties["privateLinkServiceConnectionState"] = $privateLinkServiceConnectionState } $global:pulumiresources += $resource return $resource } } class Destination { [ValidateSet('Avro', 'AvroDeflate')] [string] $storageAccountResourceId [ValidateSet('Avro', 'AvroDeflate')] [string] $name [ValidateSet('Avro', 'AvroDeflate')] [string] $blobContainer [ValidateSet('Avro', 'AvroDeflate')] [string] $archiveNameFormat } function New-AzureNativeTypeEventhubDestination { param ( [parameter(mandatory=$False,HelpMessage='Resource id of the storage account to be used to create the blobs)')] [string] $storageAccountResourceId, [parameter(mandatory=$False,HelpMessage='Name for capture destination)')] [string] $name, [parameter(mandatory=$False,HelpMessage='Blob container Name)')] [string] $blobContainer, [parameter(mandatory=$False,HelpMessage='Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order)')] [string] $archiveNameFormat ) process { return $([Destination]$PSBoundParameters) } } class CaptureDescription { [int] $intervalInSeconds [ValidateSet('Avro', 'AvroDeflate')] [object] $encoding [ValidateSet('Avro', 'AvroDeflate')] [int] $sizeLimitInBytes [ValidateSet('Avro', 'AvroDeflate')] [Destination] $destination [ValidateSet('Avro', 'AvroDeflate')] [bool] $skipEmptyArchives [ValidateSet('Avro', 'AvroDeflate')] [bool] $enabled } function New-AzureNativeTypeEventhubCaptureDescription { param ( [parameter(mandatory=$False,HelpMessage='The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds)')] [int] $intervalInSeconds, [parameter(mandatory=$False,HelpMessage='Enumerates the possible values for the encoding format of capture description. Note: ''AvroDeflate'' will be deprecated in New API Version)')] $encoding, [parameter(mandatory=$False,HelpMessage='The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes)')] [int] $sizeLimitInBytes, [parameter(mandatory=$False,HelpMessage='Properties of Destination where capture will be stored. (Storage Account, Blob Names))')] [Destination] $destination, [parameter(mandatory=$False,HelpMessage='A value that indicates whether to Skip Empty Archives)')] [bool] $skipEmptyArchives, [parameter(mandatory=$False,HelpMessage='A value that indicates whether capture description is enabled. )')] [bool] $enabled ) process { return $([CaptureDescription]$PSBoundParameters) } } function New-AzureNativeEventhubEventHub { [Alias('azure_native_eventhub_eventhub')] param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.)')] [int] $partitionCount, [parameter(mandatory=$False,HelpMessage='Enumerates the possible values for the status of the Event Hub.)')] $status, [parameter(mandatory=$False,HelpMessage='Properties of capture description)')] [CaptureDescription] $captureDescription, [parameter(mandatory=$False,HelpMessage='The Event Hub name)')] [string] $eventHubName, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='Number of days to retain the events for this Event Hub, value should be 1 to 7 days)')] [int] $messageRetentionInDays, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:EventHub") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'partitionCount') { $resource.properties["partitionCount"] = $partitionCount } if($PSBoundParameters.Keys -icontains 'status') { $resource.properties["status"] = $status } if($PSBoundParameters.Keys -icontains 'captureDescription') { $resource.properties["captureDescription"] = $captureDescription } if($PSBoundParameters.Keys -icontains 'eventHubName') { $resource.properties["eventHubName"] = $eventHubName } if($PSBoundParameters.Keys -icontains 'messageRetentionInDays') { $resource.properties["messageRetentionInDays"] = $messageRetentionInDays } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubDisasterRecoveryConfig { [Alias('azure_native_eventhub_disasterrecoveryconfig')] param ( [parameter(mandatory=$False,HelpMessage='Alternate name specified when alias and namespace names are same.)')] [string] $alternateName, [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The Disaster Recovery configuration name)')] [string] $alias, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing)')] [string] $partnerNamespace, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:DisasterRecoveryConfig") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'alternateName') { $resource.properties["alternateName"] = $alternateName } if($PSBoundParameters.Keys -icontains 'alias') { $resource.properties["alias"] = $alias } if($PSBoundParameters.Keys -icontains 'partnerNamespace') { $resource.properties["partnerNamespace"] = $partnerNamespace } $global:pulumiresources += $resource return $resource } } function New-AzureNativeEventhubNamespaceIpFilterRule { [Alias('azure_native_eventhub_namespaceipfilterrule')] param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group within the azure subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='IP Mask)')] [string] $ipMask, [parameter(mandatory=$False,HelpMessage='The Namespace name)')] [string] $namespaceName, [parameter(mandatory=$False,HelpMessage='IP Filter name)')] [string] $filterName, [parameter(mandatory=$False,HelpMessage='The IP Filter Rule name.)')] [string] $ipFilterRuleName, [parameter(mandatory=$False,HelpMessage='The IP Filter Action)')] [string] [ValidateSet('Accept', 'Reject')] $action, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:eventhub:NamespaceIpFilterRule") $resource.properties["namespaceName"] = $namespaceName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'ipMask') { $resource.properties["ipMask"] = $ipMask } if($PSBoundParameters.Keys -icontains 'filterName') { $resource.properties["filterName"] = $filterName } if($PSBoundParameters.Keys -icontains 'ipFilterRuleName') { $resource.properties["ipFilterRuleName"] = $ipFilterRuleName } if($PSBoundParameters.Keys -icontains 'action') { $resource.properties["action"] = $action } $global:pulumiresources += $resource return $resource } } |