def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, account_name: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, pool_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, snapshot_name: Optional[pulumi.Input[str]] = None, volume_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Snapshot of a Volume :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_name: The name of the NetApp account :param pulumi.Input[str] location: Resource location :param pulumi.Input[str] pool_name: The name of the capacity pool :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] snapshot_name: The name of the mount target :param pulumi.Input[str] volume_name: The name of the volume """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if account_name is None: raise TypeError("Missing required property 'account_name'") __props__['account_name'] = account_name if location is None: raise TypeError("Missing required property 'location'") __props__['location'] = location if pool_name is None: raise TypeError("Missing required property 'pool_name'") __props__['pool_name'] = pool_name if resource_group_name is None: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if snapshot_name is None: raise TypeError("Missing required property 'snapshot_name'") __props__['snapshot_name'] = snapshot_name if volume_name is None: raise TypeError("Missing required property 'volume_name'") __props__['volume_name'] = volume_name __props__['created'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['snapshot_id'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:netapp/latest:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20170815:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20190501:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20190601:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20190701:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20190801:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20191001:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20191101:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20200201:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20200301:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20200601:Snapshot"), pulumi.Alias(type_="azure-nextgen:netapp/v20200701:Snapshot") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__('azure-nextgen:netapp/v20200501:Snapshot', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, account_name: Optional[pulumi.Input[str]] = None, common_encryption_cbcs: Optional[pulumi.Input[ pulumi.InputType['CommonEncryptionCbcsArgs']]] = None, common_encryption_cenc: Optional[pulumi.Input[ pulumi.InputType['CommonEncryptionCencArgs']]] = None, default_content_key_policy_name: Optional[ pulumi.Input[str]] = None, envelope_encryption: Optional[pulumi.Input[ pulumi.InputType['EnvelopeEncryptionArgs']]] = None, no_encryption: Optional[pulumi.Input[ pulumi.InputType['NoEncryptionArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, streaming_policy_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ A Streaming Policy resource :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_name: The Media Services account name. :param pulumi.Input[pulumi.InputType['CommonEncryptionCbcsArgs']] common_encryption_cbcs: Configuration of CommonEncryptionCbcs :param pulumi.Input[pulumi.InputType['CommonEncryptionCencArgs']] common_encryption_cenc: Configuration of CommonEncryptionCenc :param pulumi.Input[str] default_content_key_policy_name: Default ContentKey used by current Streaming Policy :param pulumi.Input[pulumi.InputType['EnvelopeEncryptionArgs']] envelope_encryption: Configuration of EnvelopeEncryption :param pulumi.Input[pulumi.InputType['NoEncryptionArgs']] no_encryption: Configurations of NoEncryption :param pulumi.Input[str] resource_group_name: The name of the resource group within the Azure subscription. :param pulumi.Input[str] streaming_policy_name: The Streaming Policy name. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if account_name is None and not opts.urn: raise TypeError("Missing required property 'account_name'") __props__['account_name'] = account_name __props__['common_encryption_cbcs'] = common_encryption_cbcs __props__['common_encryption_cenc'] = common_encryption_cenc __props__[ 'default_content_key_policy_name'] = default_content_key_policy_name __props__['envelope_encryption'] = envelope_encryption __props__['no_encryption'] = no_encryption if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if streaming_policy_name is None and not opts.urn: raise TypeError( "Missing required property 'streaming_policy_name'") __props__['streaming_policy_name'] = streaming_policy_name __props__['created'] = None __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:media/latest:StreamingPolicy"), pulumi.Alias( type_="azure-nextgen:media/v20180330preview:StreamingPolicy"), pulumi.Alias( type_="azure-nextgen:media/v20180601preview:StreamingPolicy"), pulumi.Alias(type_="azure-nextgen:media/v20200501:StreamingPolicy") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StreamingPolicy, __self__).__init__( 'azure-nextgen:media/v20180701:StreamingPolicy', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, create_acs_namespace: Optional[pulumi.Input[bool]] = None, enabled: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, status: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ Description of a namespace resource. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] create_acs_namespace: Indicates whether to create an ACS namespace. :param pulumi.Input[bool] enabled: Specifies whether this instance is enabled. :param pulumi.Input[str] location: Namespace location. :param pulumi.Input[str] namespace_name: The namespace name. :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: SKU of the namespace. :param pulumi.Input[str] status: State of the namespace. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Namespace tags. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['create_acs_namespace'] = create_acs_namespace __props__['enabled'] = enabled if location is None: raise TypeError("Missing required property 'location'") __props__['location'] = location if namespace_name is None: raise TypeError("Missing required property 'namespace_name'") __props__['namespace_name'] = namespace_name if resource_group_name is None: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['sku'] = sku __props__['status'] = status __props__['tags'] = tags __props__['created_at'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['service_bus_endpoint'] = None __props__['type'] = None __props__['updated_at'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:servicebus/latest:Namespace"), pulumi.Alias(type_="azure-nextgen:servicebus/v20140901:Namespace"), pulumi.Alias(type_="azure-nextgen:servicebus/v20170401:Namespace"), pulumi.Alias( type_="azure-nextgen:servicebus/v20180101preview:Namespace") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Namespace, __self__).__init__( 'azure-nextgen:servicebus/v20150801:Namespace', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, firewall_policy_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, priority: Optional[pulumi.Input[int]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, rule_collection_group_name: Optional[pulumi.Input[str]] = None, rule_collections: Optional[pulumi.Input[Sequence[pulumi.Input[Union[ pulumi.InputType['FirewallPolicyFilterRuleCollectionArgs'], pulumi. InputType['FirewallPolicyNatRuleCollectionArgs']]]]]] = None, __props__=None, __name__=None, __opts__=None): """ Rule Collection Group resource. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] firewall_policy_name: The name of the Firewall Policy. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[str] name: The name of the resource that is unique within a resource group. This name can be used to access the resource. :param pulumi.Input[int] priority: Priority of the Firewall Policy Rule Collection Group resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] rule_collection_group_name: The name of the FirewallPolicyRuleCollectionGroup. :param pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['FirewallPolicyFilterRuleCollectionArgs'], pulumi.InputType['FirewallPolicyNatRuleCollectionArgs']]]]] rule_collections: Group of Firewall Policy rule collections. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if firewall_policy_name is None: raise TypeError( "Missing required property 'firewall_policy_name'") __props__['firewall_policy_name'] = firewall_policy_name __props__['id'] = id __props__['name'] = name __props__['priority'] = priority if resource_group_name is None: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if rule_collection_group_name is None: raise TypeError( "Missing required property 'rule_collection_group_name'") __props__[ 'rule_collection_group_name'] = rule_collection_group_name __props__['rule_collections'] = rule_collections __props__['etag'] = None __props__['provisioning_state'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_= "azure-nextgen:network/latest:FirewallPolicyRuleCollectionGroup" ), pulumi.Alias( type_= "azure-nextgen:network/v20200601:FirewallPolicyRuleCollectionGroup" ), pulumi.Alias( type_= "azure-nextgen:network/v20200701:FirewallPolicyRuleCollectionGroup" ) ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallPolicyRuleCollectionGroup, __self__).__init__( 'azure-nextgen:network/v20200501:FirewallPolicyRuleCollectionGroup', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, etag: Optional[pulumi.Input[str]] = None, kind: Optional[pulumi.Input[Union[str, 'Kind']]] = None, location: Optional[pulumi.Input[str]] = None, properties: Optional[pulumi.Input[ pulumi.InputType['BotPropertiesArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, resource_name_: Optional[pulumi.Input[str]] = None, sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ Bot resource definition :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] etag: Entity Tag :param pulumi.Input[Union[str, 'Kind']] kind: Required. Gets or sets the Kind of the resource. :param pulumi.Input[str] location: Specifies the location of the resource. :param pulumi.Input[pulumi.InputType['BotPropertiesArgs']] properties: The set of properties specific to bot resource :param pulumi.Input[str] resource_group_name: The name of the Bot resource group in the user subscription. :param pulumi.Input[str] resource_name_: The name of the Bot resource. :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: Gets or sets the SKU of the resource. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Contains resource tags defined as key/value pairs. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['etag'] = etag __props__['kind'] = kind __props__['location'] = location __props__['properties'] = properties if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if resource_name_ is None and not opts.urn: raise TypeError("Missing required property 'resource_name_'") __props__['resource_name'] = resource_name_ __props__['sku'] = sku __props__['tags'] = tags __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:botservice/latest:Bot"), pulumi.Alias(type_="azure-nextgen:botservice/v20171201:Bot"), pulumi.Alias(type_="azure-nextgen:botservice/v20180712:Bot") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Bot, __self__).__init__('azure-nextgen:botservice/v20200602:Bot', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, account_key: Optional[pulumi.Input[ pulumi.InputType['AsymmetricEncryptedSecretArgs']]] = None, account_type: Optional[pulumi.Input[Union[str, 'AccountType']]] = None, alias: Optional[pulumi.Input[str]] = None, blob_domain_name: Optional[pulumi.Input[str]] = None, connection_string: Optional[pulumi.Input[str]] = None, device_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, ssl_status: Optional[pulumi.Input[Union[str, 'SSLStatus']]] = None, storage_account_id: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ The storage account credential. Latest API Version: 2020-09-01. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['AsymmetricEncryptedSecretArgs']] account_key: Encrypted storage key. :param pulumi.Input[Union[str, 'AccountType']] account_type: Type of storage accessed on the storage account. :param pulumi.Input[str] alias: Alias for the storage account. :param pulumi.Input[str] blob_domain_name: Blob end point for private clouds. :param pulumi.Input[str] connection_string: Connection string for the storage account. Use this string if username and account key are not specified. :param pulumi.Input[str] device_name: The device name. :param pulumi.Input[str] name: The storage account credential name. :param pulumi.Input[str] resource_group_name: The resource group name. :param pulumi.Input[Union[str, 'SSLStatus']] ssl_status: Signifies whether SSL needs to be enabled or not. :param pulumi.Input[str] storage_account_id: Id of the storage account. :param pulumi.Input[str] user_name: Username for the storage account. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['account_key'] = account_key if account_type is None and not opts.urn: raise TypeError("Missing required property 'account_type'") __props__['account_type'] = account_type if alias is None and not opts.urn: raise TypeError("Missing required property 'alias'") __props__['alias'] = alias __props__['blob_domain_name'] = blob_domain_name __props__['connection_string'] = connection_string if device_name is None and not opts.urn: raise TypeError("Missing required property 'device_name'") __props__['device_name'] = device_name if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__['name'] = name if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if ssl_status is None and not opts.urn: raise TypeError("Missing required property 'ssl_status'") __props__['ssl_status'] = ssl_status __props__['storage_account_id'] = storage_account_id __props__['user_name'] = user_name __props__['system_data'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_= "azure-nextgen:databoxedge/v20190301:StorageAccountCredential" ), pulumi.Alias( type_= "azure-nextgen:databoxedge/v20190701:StorageAccountCredential" ), pulumi.Alias( type_= "azure-nextgen:databoxedge/v20190801:StorageAccountCredential" ), pulumi.Alias( type_= "azure-nextgen:databoxedge/v20200501preview:StorageAccountCredential" ), pulumi.Alias( type_= "azure-nextgen:databoxedge/v20200901:StorageAccountCredential" ), pulumi.Alias( type_= "azure-nextgen:databoxedge/v20200901preview:StorageAccountCredential" ) ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageAccountCredential, __self__).__init__( 'azure-nextgen:databoxedge/latest:StorageAccountCredential', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, account_name: Optional[pulumi.Input[str]] = None, database_name: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, resource: Optional[pulumi.Input[ pulumi.InputType['SqlDatabaseResourceArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ An Azure Cosmos DB SQL database. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_name: Cosmos DB database account name. :param pulumi.Input[str] database_name: Cosmos DB database name. :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. :param pulumi.Input[pulumi.InputType['SqlDatabaseResourceArgs']] resource: The standard JSON format of a SQL database :param pulumi.Input[str] resource_group_name: Name of an Azure resource group. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if account_name is None: raise TypeError("Missing required property 'account_name'") __props__['account_name'] = account_name if database_name is None: raise TypeError("Missing required property 'database_name'") __props__['database_name'] = database_name __props__['location'] = location if options is None: raise TypeError("Missing required property 'options'") __props__['options'] = options if resource is None: raise TypeError("Missing required property 'resource'") __props__['resource'] = resource if resource_group_name is None: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['tags'] = tags __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_="azure-nextgen:documentdb/latest:SqlResourceSqlDatabase" ), pulumi.Alias( type_= "azure-nextgen:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias( type_= "azure-nextgen:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias( type_= "azure-nextgen:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias( type_= "azure-nextgen:documentdb/v20200601preview:SqlResourceSqlDatabase" ), pulumi.Alias( type_= "azure-nextgen:documentdb/v20200901:SqlResourceSqlDatabase") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlDatabase, __self__).__init__( 'azure-nextgen:documentdb/v20190801:SqlResourceSqlDatabase', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cluster_name: Optional[pulumi.Input[str]] = None, database_name: Optional[pulumi.Input[str]] = None, kind: Optional[pulumi.Input[Union[str, 'Kind']]] = None, location: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Class representing a Kusto database. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. :param pulumi.Input[Union[str, 'Kind']] kind: Kind of the database :param pulumi.Input[str] location: Resource location. :param pulumi.Input[str] resource_group_name: The name of the resource group containing the Kusto cluster. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if cluster_name is None and not opts.urn: raise TypeError("Missing required property 'cluster_name'") __props__['cluster_name'] = cluster_name if database_name is None and not opts.urn: raise TypeError("Missing required property 'database_name'") __props__['database_name'] = database_name __props__['kind'] = kind __props__['location'] = location if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:kusto/latest:Database"), pulumi.Alias( type_="azure-nextgen:kusto/v20170907privatepreview:Database"), pulumi.Alias( type_="azure-nextgen:kusto/v20180907preview:Database"), pulumi.Alias(type_="azure-nextgen:kusto/v20190121:Database"), pulumi.Alias(type_="azure-nextgen:kusto/v20190515:Database"), pulumi.Alias(type_="azure-nextgen:kusto/v20191109:Database"), pulumi.Alias(type_="azure-nextgen:kusto/v20200215:Database"), pulumi.Alias(type_="azure-nextgen:kusto/v20200614:Database"), pulumi.Alias(type_="azure-nextgen:kusto/v20200918:Database") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__('azure-nextgen:kusto/v20190907:Database', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, site_extension_id: Optional[pulumi.Input[str]] = None, slot: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Site Extension Information. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: Site name. :param pulumi.Input[str] resource_group_name: Name of the resource group to which the resource belongs. :param pulumi.Input[str] site_extension_id: Site extension name. :param pulumi.Input[str] slot: Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if name is None: raise TypeError("Missing required property 'name'") __props__['name'] = name if resource_group_name is None: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if site_extension_id is None: raise TypeError( "Missing required property 'site_extension_id'") __props__['site_extension_id'] = site_extension_id if slot is None: raise TypeError("Missing required property 'slot'") __props__['slot'] = slot __props__['authors'] = None __props__['comment'] = None __props__['description'] = None __props__['download_count'] = None __props__['extension_url'] = None __props__['feed_url'] = None __props__['icon_url'] = None __props__['installation_args'] = None __props__['installed_date_time'] = None __props__['kind'] = None __props__['license_url'] = None __props__['local_is_latest_version'] = None __props__['local_path'] = None __props__['project_url'] = None __props__['provisioning_state'] = None __props__['published_date_time'] = None __props__['summary'] = None __props__['title'] = None __props__['type'] = None __props__['version'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_="azure-nextgen:web/latest:WebAppSiteExtensionSlot"), pulumi.Alias( type_="azure-nextgen:web/v20180201:WebAppSiteExtensionSlot"), pulumi.Alias( type_="azure-nextgen:web/v20181101:WebAppSiteExtensionSlot"), pulumi.Alias( type_="azure-nextgen:web/v20190801:WebAppSiteExtensionSlot"), pulumi.Alias( type_="azure-nextgen:web/v20200601:WebAppSiteExtensionSlot") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WebAppSiteExtensionSlot, __self__).__init__( 'azure-nextgen:web/v20160801:WebAppSiteExtensionSlot', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, account_name: Optional[pulumi.Input[str]] = None, expiration_date: Optional[pulumi.Input[str]] = None, invitation_id: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, share_subscription_name: Optional[pulumi.Input[str]] = None, source_share_location: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ A share subscription data transfer object. Latest API Version: 2020-09-01. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_name: The name of the share account. :param pulumi.Input[str] expiration_date: The expiration date of the share subscription. :param pulumi.Input[str] invitation_id: The invitation id. :param pulumi.Input[str] resource_group_name: The resource group name. :param pulumi.Input[str] share_subscription_name: The name of the shareSubscription. :param pulumi.Input[str] source_share_location: Source share location. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() if account_name is None and not opts.urn: raise TypeError("Missing required property 'account_name'") __props__['account_name'] = account_name __props__['expiration_date'] = expiration_date if invitation_id is None and not opts.urn: raise TypeError("Missing required property 'invitation_id'") __props__['invitation_id'] = invitation_id if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if share_subscription_name is None and not opts.urn: raise TypeError("Missing required property 'share_subscription_name'") __props__['share_subscription_name'] = share_subscription_name if source_share_location is None and not opts.urn: raise TypeError("Missing required property 'source_share_location'") __props__['source_share_location'] = source_share_location __props__['created_at'] = None __props__['name'] = None __props__['provider_email'] = None __props__['provider_name'] = None __props__['provider_tenant_name'] = None __props__['provisioning_state'] = None __props__['share_description'] = None __props__['share_kind'] = None __props__['share_name'] = None __props__['share_subscription_status'] = None __props__['share_terms'] = None __props__['system_data'] = None __props__['type'] = None __props__['user_email'] = None __props__['user_name'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:datashare/v20181101preview:ShareSubscription"), pulumi.Alias(type_="azure-nextgen:datashare/v20191101:ShareSubscription"), pulumi.Alias(type_="azure-nextgen:datashare/v20200901:ShareSubscription")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ShareSubscription, __self__).__init__( 'azure-nextgen:datashare/latest:ShareSubscription', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, author: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, lab_name: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, managed_image_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, provisioning_state: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, unique_identifier: Optional[pulumi.Input[str]] = None, vhd: Optional[pulumi.Input[ pulumi.InputType['CustomImagePropertiesCustomArgs']]] = None, vm: Optional[pulumi.Input[ pulumi.InputType['CustomImagePropertiesFromVmArgs']]] = None, __props__=None, __name__=None, __opts__=None): """ A custom image. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] author: The author of the custom image. :param pulumi.Input[str] description: The description of the custom image. :param pulumi.Input[str] lab_name: The name of the lab. :param pulumi.Input[str] location: The location of the resource. :param pulumi.Input[str] managed_image_id: The Managed Image Id backing the custom image. :param pulumi.Input[str] name: The name of the custom image. :param pulumi.Input[str] provisioning_state: The provisioning status of the resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource. :param pulumi.Input[str] unique_identifier: The unique immutable identifier of a resource (Guid). :param pulumi.Input[pulumi.InputType['CustomImagePropertiesCustomArgs']] vhd: The VHD from which the image is to be created. :param pulumi.Input[pulumi.InputType['CustomImagePropertiesFromVmArgs']] vm: The virtual machine from which the image is to be created. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['author'] = author __props__['description'] = description if lab_name is None and not opts.urn: raise TypeError("Missing required property 'lab_name'") __props__['lab_name'] = lab_name __props__['location'] = location __props__['managed_image_id'] = managed_image_id if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__['name'] = name __props__['provisioning_state'] = provisioning_state if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['tags'] = tags __props__['unique_identifier'] = unique_identifier __props__['vhd'] = vhd __props__['vm'] = vm __props__['creation_date'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:devtestlab/latest:CustomImage"), pulumi.Alias( type_="azure-nextgen:devtestlab/v20150521preview:CustomImage"), pulumi.Alias( type_="azure-nextgen:devtestlab/v20180915:CustomImage") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CustomImage, __self__).__init__( 'azure-nextgen:devtestlab/v20160515:CustomImage', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, display_name: Optional[pulumi.Input[str]] = None, prop_id: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, secret: Optional[pulumi.Input[bool]] = None, service_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, value: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Property details. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] display_name: Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters. :param pulumi.Input[str] prop_id: Identifier of the property. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[bool] secret: Determines whether the value is a secret and should be encrypted or not. Default value is false. :param pulumi.Input[str] service_name: The name of the API Management service. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Optional tags that when provided can be used to filter the property list. :param pulumi.Input[str] value: Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if display_name is None: raise TypeError("Missing required property 'display_name'") __props__['display_name'] = display_name if prop_id is None: raise TypeError("Missing required property 'prop_id'") __props__['prop_id'] = prop_id if resource_group_name is None: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['secret'] = secret if service_name is None: raise TypeError("Missing required property 'service_name'") __props__['service_name'] = service_name __props__['tags'] = tags if value is None: raise TypeError("Missing required property 'value'") __props__['value'] = value __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:apimanagement/latest:Property"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20160707:Property"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20161010:Property"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20170301:Property"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20180601preview:Property"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20190101:Property") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Property, __self__).__init__( 'azure-nextgen:apimanagement/v20180101:Property', resource_name, __props__, opts)
def __init__(__self__, resource_name, opts=None, access_logs=None, availability_zones=None, connection_draining=None, connection_draining_timeout=None, cross_zone_load_balancing=None, health_check=None, idle_timeout=None, instances=None, internal=None, listeners=None, name=None, name_prefix=None, security_groups=None, source_security_group=None, subnets=None, tags=None, __props__=None, __name__=None, __opts__=None): """ Provides an Elastic Load Balancer resource, also known as a "Classic Load Balancer" after the release of [Application/Network Load Balancers](https://www.terraform.io/docs/providers/aws/r/lb.html). > **NOTE on ELB Instances and ELB Attachments:** This provider currently provides both a standalone ELB Attachment resource (describing an instance attached to an ELB), and an ELB resource with `instances` defined in-line. At this time you cannot use an ELB with in-line instances in conjunction with a ELB Attachment resources. Doing so will cause a conflict and will overwrite attachments. ## Example Usage ```python import pulumi import pulumi_aws as aws # Create a new load balancer bar = aws.elb.LoadBalancer("bar", access_logs={ "bucket": "foo", "bucketPrefix": "bar", "interval": 60, }, availability_zones=[ "us-west-2a", "us-west-2b", "us-west-2c", ], connection_draining=True, connection_draining_timeout=400, cross_zone_load_balancing=True, health_check={ "healthyThreshold": 2, "interval": 30, "target": "HTTP:8000/", "timeout": 3, "unhealthyThreshold": 2, }, idle_timeout=400, instances=[aws_instance["foo"]["id"]], listeners=[ { "instancePort": 8000, "instanceProtocol": "http", "lbPort": 80, "lbProtocol": "http", }, { "instancePort": 8000, "instanceProtocol": "http", "lbPort": 443, "lbProtocol": "https", "sslCertificateId": "arn:aws:iam::123456789012:server-certificate/certName", }, ], tags={ "Name": "foobar-elb", }) ``` ## Note on ECDSA Key Algorithm If the ARN of the `ssl_certificate_id` that is pointed to references a certificate that was signed by an ECDSA key, note that ELB only supports the P256 and P384 curves. Using a certificate signed by a key using a different curve could produce the error `ERR_SSL_VERSION_OR_CIPHER_MISMATCH` in your browser. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[dict] access_logs: An Access Logs block. Access Logs documented below. :param pulumi.Input[list] availability_zones: The AZ's to serve traffic in. :param pulumi.Input[bool] connection_draining: Boolean to enable connection draining. Default: `false` :param pulumi.Input[float] connection_draining_timeout: The time in seconds to allow for connections to drain. Default: `300` :param pulumi.Input[bool] cross_zone_load_balancing: Enable cross-zone load balancing. Default: `true` :param pulumi.Input[dict] health_check: A health_check block. Health Check documented below. :param pulumi.Input[float] idle_timeout: The time in seconds that the connection is allowed to be idle. Default: `60` :param pulumi.Input[list] instances: A list of instance ids to place in the ELB pool. :param pulumi.Input[bool] internal: If true, ELB will be an internal ELB. :param pulumi.Input[list] listeners: A list of listener blocks. Listeners documented below. :param pulumi.Input[str] name: The name of the ELB. By default generated by this provider. :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified prefix. Conflicts with `name`. :param pulumi.Input[list] security_groups: A list of security group IDs to assign to the ELB. Only valid if creating an ELB within a VPC :param pulumi.Input[str] source_security_group: The name of the security group that you can use as part of your inbound rules for your load balancer's back-end application instances. Use this for Classic or Default VPC only. :param pulumi.Input[list] subnets: A list of subnet IDs to attach to the ELB. :param pulumi.Input[dict] tags: A map of tags to assign to the resource. The **access_logs** object supports the following: * `bucket` (`pulumi.Input[str]`) - The S3 bucket name to store the logs in. * `bucket_prefix` (`pulumi.Input[str]`) - The S3 bucket prefix. Logs are stored in the root if not configured. * `enabled` (`pulumi.Input[bool]`) - Boolean to enable / disable `access_logs`. Default is `true` * `interval` (`pulumi.Input[float]`) - The publishing interval in minutes. Default: 60 minutes. The **health_check** object supports the following: * `healthyThreshold` (`pulumi.Input[float]`) - The number of checks before the instance is declared healthy. * `interval` (`pulumi.Input[float]`) - The interval between checks. * `target` (`pulumi.Input[str]`) - The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL values are: * `HTTP`, `HTTPS` - PORT and PATH are required * `TCP`, `SSL` - PORT is required, PATH is not supported * `timeout` (`pulumi.Input[float]`) - The length of time before the check times out. * `unhealthyThreshold` (`pulumi.Input[float]`) - The number of checks before the instance is declared unhealthy. The **listeners** object supports the following: * `instance_port` (`pulumi.Input[float]`) - The port on the instance to route to * `instanceProtocol` (`pulumi.Input[str]`) - The protocol to use to the instance. Valid values are `HTTP`, `HTTPS`, `TCP`, or `SSL` * `lb_port` (`pulumi.Input[float]`) - The port to listen on for the load balancer * `lbProtocol` (`pulumi.Input[str]`) - The protocol to listen on. Valid values are `HTTP`, `HTTPS`, `TCP`, or `SSL` * `sslCertificateId` (`pulumi.Input[str]`) - The ARN of an SSL certificate you have uploaded to AWS IAM. **Note ECDSA-specific restrictions below. Only valid when `lb_protocol` is either HTTPS or SSL** """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['access_logs'] = access_logs __props__['availability_zones'] = availability_zones __props__['connection_draining'] = connection_draining __props__[ 'connection_draining_timeout'] = connection_draining_timeout __props__['cross_zone_load_balancing'] = cross_zone_load_balancing __props__['health_check'] = health_check __props__['idle_timeout'] = idle_timeout __props__['instances'] = instances __props__['internal'] = internal if listeners is None: raise TypeError("Missing required property 'listeners'") __props__['listeners'] = listeners __props__['name'] = name __props__['name_prefix'] = name_prefix __props__['security_groups'] = security_groups __props__['source_security_group'] = source_security_group __props__['subnets'] = subnets __props__['tags'] = tags __props__['arn'] = None __props__['dns_name'] = None __props__['source_security_group_id'] = None __props__['zone_id'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_="aws:elasticloadbalancing/loadBalancer:LoadBalancer") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LoadBalancer, __self__).__init__('aws:elb/loadBalancer:LoadBalancer', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, key_name: Optional[pulumi.Input[str]] = None, managed_instance_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, server_key_type: Optional[pulumi.Input[Union[str, 'ServerKeyType']]] = None, uri: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ A managed instance key. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] key_name: The name of the managed instance key to be operated on (updated or created). :param pulumi.Input[str] managed_instance_name: The name of the managed instance. :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :param pulumi.Input[Union[str, 'ServerKeyType']] server_key_type: The key type like 'ServiceManaged', 'AzureKeyVault'. :param pulumi.Input[str] uri: The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() if key_name is None and not opts.urn: raise TypeError("Missing required property 'key_name'") __props__['key_name'] = key_name if managed_instance_name is None and not opts.urn: raise TypeError("Missing required property 'managed_instance_name'") __props__['managed_instance_name'] = managed_instance_name if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if server_key_type is None and not opts.urn: raise TypeError("Missing required property 'server_key_type'") __props__['server_key_type'] = server_key_type __props__['uri'] = uri __props__['creation_date'] = None __props__['kind'] = None __props__['name'] = None __props__['thumbprint'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:sql/v20200202preview:ManagedInstanceKey"), pulumi.Alias(type_="azure-nextgen:sql/v20200801preview:ManagedInstanceKey")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedInstanceKey, __self__).__init__( 'azure-nextgen:sql/v20171001preview:ManagedInstanceKey', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, base_policy: Optional[pulumi.Input[pulumi.InputType['SubResourceArgs']]] = None, firewall_policy_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, threat_intel_mode: Optional[pulumi.Input[Union[str, 'AzureFirewallThreatIntelMode']]] = None, __props__=None, __name__=None, __opts__=None): """ FirewallPolicy Resource. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['SubResourceArgs']] base_policy: The parent firewall policy from which rules are inherited. :param pulumi.Input[str] firewall_policy_name: The name of the Firewall Policy. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[str] location: Resource location. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. :param pulumi.Input[Union[str, 'AzureFirewallThreatIntelMode']] threat_intel_mode: The operation mode for Threat Intelligence. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() __props__['base_policy'] = base_policy if firewall_policy_name is None and not opts.urn: raise TypeError("Missing required property 'firewall_policy_name'") __props__['firewall_policy_name'] = firewall_policy_name __props__['id'] = id __props__['location'] = location if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['tags'] = tags __props__['threat_intel_mode'] = threat_intel_mode __props__['child_policies'] = None __props__['etag'] = None __props__['firewalls'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['rule_groups'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:network/latest:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20190601:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20190701:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20190901:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20191101:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20191201:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20200301:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20200401:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20200501:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20200601:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20200701:FirewallPolicy"), pulumi.Alias(type_="azure-nextgen:network/v20200801:FirewallPolicy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallPolicy, __self__).__init__( 'azure-nextgen:network/v20190801:FirewallPolicy', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, authorization_key: Optional[pulumi.Input[str]] = None, connection_type: Optional[pulumi.Input[str]] = None, enable_bgp: Optional[pulumi.Input[bool]] = None, etag: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, ipsec_policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpsecPolicyArgs']]]]] = None, local_network_gateway2: Optional[pulumi.Input[pulumi.InputType['LocalNetworkGatewayArgs']]] = None, location: Optional[pulumi.Input[str]] = None, peer: Optional[pulumi.Input[pulumi.InputType['SubResourceArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, resource_guid: Optional[pulumi.Input[str]] = None, routing_weight: Optional[pulumi.Input[int]] = None, shared_key: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, use_policy_based_traffic_selectors: Optional[pulumi.Input[bool]] = None, virtual_network_gateway1: Optional[pulumi.Input[pulumi.InputType['VirtualNetworkGatewayArgs']]] = None, virtual_network_gateway2: Optional[pulumi.Input[pulumi.InputType['VirtualNetworkGatewayArgs']]] = None, virtual_network_gateway_connection_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ A common class for general resource information :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] authorization_key: The authorizationKey. :param pulumi.Input[str] connection_type: Gateway connection type. Possible values are: 'IPsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. :param pulumi.Input[bool] enable_bgp: EnableBgp flag :param pulumi.Input[str] etag: Gets a unique read-only string that changes whenever the resource is updated. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpsecPolicyArgs']]]] ipsec_policies: The IPSec Policies to be considered by this connection. :param pulumi.Input[pulumi.InputType['LocalNetworkGatewayArgs']] local_network_gateway2: The reference to local network gateway resource. :param pulumi.Input[str] location: Resource location. :param pulumi.Input[pulumi.InputType['SubResourceArgs']] peer: The reference to peerings resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] resource_guid: The resource GUID property of the VirtualNetworkGatewayConnection resource. :param pulumi.Input[int] routing_weight: The routing weight. :param pulumi.Input[str] shared_key: The IPSec shared key. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. :param pulumi.Input[bool] use_policy_based_traffic_selectors: Enable policy-based traffic selectors. :param pulumi.Input[pulumi.InputType['VirtualNetworkGatewayArgs']] virtual_network_gateway1: The reference to virtual network gateway resource. :param pulumi.Input[pulumi.InputType['VirtualNetworkGatewayArgs']] virtual_network_gateway2: The reference to virtual network gateway resource. :param pulumi.Input[str] virtual_network_gateway_connection_name: The name of the virtual network gateway connection. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() __props__['authorization_key'] = authorization_key if connection_type is None: raise TypeError("Missing required property 'connection_type'") __props__['connection_type'] = connection_type __props__['enable_bgp'] = enable_bgp __props__['etag'] = etag __props__['id'] = id __props__['ipsec_policies'] = ipsec_policies __props__['local_network_gateway2'] = local_network_gateway2 __props__['location'] = location __props__['peer'] = peer if resource_group_name is None: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['resource_guid'] = resource_guid __props__['routing_weight'] = routing_weight __props__['shared_key'] = shared_key __props__['tags'] = tags __props__['use_policy_based_traffic_selectors'] = use_policy_based_traffic_selectors if virtual_network_gateway1 is None: raise TypeError("Missing required property 'virtual_network_gateway1'") __props__['virtual_network_gateway1'] = virtual_network_gateway1 __props__['virtual_network_gateway2'] = virtual_network_gateway2 if virtual_network_gateway_connection_name is None: raise TypeError("Missing required property 'virtual_network_gateway_connection_name'") __props__['virtual_network_gateway_connection_name'] = virtual_network_gateway_connection_name __props__['connection_status'] = None __props__['egress_bytes_transferred'] = None __props__['ingress_bytes_transferred'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['tunnel_connection_status'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:network/latest:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20150615:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20160330:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20160601:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20160901:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20161201:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20170301:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20170601:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20170901:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20171001:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20171101:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180101:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180201:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180401:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180601:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180701:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180801:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20181001:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20181101:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20181201:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190201:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190401:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190601:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190701:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190801:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190901:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20191101:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20191201:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200301:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200401:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200501:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200601:VirtualNetworkGatewayConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200701:VirtualNetworkGatewayConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualNetworkGatewayConnection, __self__).__init__( 'azure-nextgen:network/v20170801:VirtualNetworkGatewayConnection', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, approval_required: Optional[pulumi.Input[bool]] = None, description: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, product_id: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, service_name: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input['ProductState']] = None, subscription_required: Optional[pulumi.Input[bool]] = None, subscriptions_limit: Optional[pulumi.Input[int]] = None, terms: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Product details. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] approval_required: whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of true. :param pulumi.Input[str] description: Product description. May include HTML formatting tags. :param pulumi.Input[str] display_name: Product name. :param pulumi.Input[str] product_id: Product identifier. Must be unique in the current API Management service instance. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] service_name: The name of the API Management service. :param pulumi.Input['ProductState'] state: whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished. :param pulumi.Input[bool] subscription_required: Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as "protected" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as "open" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true. :param pulumi.Input[int] subscriptions_limit: Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of true. :param pulumi.Input[str] terms: Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['approval_required'] = approval_required __props__['description'] = description if display_name is None and not opts.urn: raise TypeError("Missing required property 'display_name'") __props__['display_name'] = display_name if product_id is None and not opts.urn: raise TypeError("Missing required property 'product_id'") __props__['product_id'] = product_id if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if service_name is None and not opts.urn: raise TypeError("Missing required property 'service_name'") __props__['service_name'] = service_name __props__['state'] = state __props__['subscription_required'] = subscription_required __props__['subscriptions_limit'] = subscriptions_limit __props__['terms'] = terms __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:apimanagement/latest:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20160707:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20161010:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20170301:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20180101:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20190101:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20191201:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20191201preview:Product"), pulumi.Alias( type_="azure-nextgen:apimanagement/v20200601preview:Product") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Product, __self__).__init__( 'azure-nextgen:apimanagement/v20180601preview:Product', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, active_active: Optional[pulumi.Input[bool]] = None, bgp_settings: Optional[pulumi.Input[ pulumi.InputType['BgpSettingsArgs']]] = None, enable_bgp: Optional[pulumi.Input[bool]] = None, etag: Optional[pulumi.Input[str]] = None, gateway_default_site: Optional[pulumi.Input[ pulumi.InputType['SubResourceArgs']]] = None, gateway_type: Optional[pulumi.Input[Union[ str, 'VirtualNetworkGatewayType']]] = None, id: Optional[pulumi.Input[str]] = None, ip_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.InputType[ 'VirtualNetworkGatewayIPConfigurationArgs']]]]] = None, location: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, resource_guid: Optional[pulumi.Input[str]] = None, sku: Optional[pulumi.Input[ pulumi.InputType['VirtualNetworkGatewaySkuArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, virtual_network_gateway_name: Optional[pulumi.Input[str]] = None, vpn_client_configuration: Optional[pulumi.Input[ pulumi.InputType['VpnClientConfigurationArgs']]] = None, vpn_type: Optional[pulumi.Input[Union[str, 'VpnType']]] = None, __props__=None, __name__=None, __opts__=None): """ A common class for general resource information :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] active_active: ActiveActive flag :param pulumi.Input[pulumi.InputType['BgpSettingsArgs']] bgp_settings: Virtual network gateway's BGP speaker settings. :param pulumi.Input[bool] enable_bgp: Whether BGP is enabled for this virtual network gateway or not. :param pulumi.Input[str] etag: Gets a unique read-only string that changes whenever the resource is updated. :param pulumi.Input[pulumi.InputType['SubResourceArgs']] gateway_default_site: The reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting. :param pulumi.Input[Union[str, 'VirtualNetworkGatewayType']] gateway_type: The type of this virtual network gateway. Possible values are: 'Vpn' and 'ExpressRoute'. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualNetworkGatewayIPConfigurationArgs']]]] ip_configurations: IP configurations for virtual network gateway. :param pulumi.Input[str] location: Resource location. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] resource_guid: The resource GUID property of the VirtualNetworkGateway resource. :param pulumi.Input[pulumi.InputType['VirtualNetworkGatewaySkuArgs']] sku: The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. :param pulumi.Input[str] virtual_network_gateway_name: The name of the virtual network gateway. :param pulumi.Input[pulumi.InputType['VpnClientConfigurationArgs']] vpn_client_configuration: The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. :param pulumi.Input[Union[str, 'VpnType']] vpn_type: The type of this virtual network gateway. Possible values are: 'PolicyBased' and 'RouteBased'. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['active_active'] = active_active __props__['bgp_settings'] = bgp_settings __props__['enable_bgp'] = enable_bgp __props__['etag'] = etag __props__['gateway_default_site'] = gateway_default_site __props__['gateway_type'] = gateway_type __props__['id'] = id __props__['ip_configurations'] = ip_configurations __props__['location'] = location if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['resource_guid'] = resource_guid __props__['sku'] = sku __props__['tags'] = tags if virtual_network_gateway_name is None and not opts.urn: raise TypeError( "Missing required property 'virtual_network_gateway_name'") __props__[ 'virtual_network_gateway_name'] = virtual_network_gateway_name __props__['vpn_client_configuration'] = vpn_client_configuration __props__['vpn_type'] = vpn_type __props__['name'] = None __props__['provisioning_state'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_="azure-nextgen:network/latest:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20150615:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20160330:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20160601:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20160901:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20161201:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20170301:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20170601:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20170901:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20171001:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20171101:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20180101:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20180201:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20180401:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20180601:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20180701:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20180801:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20181001:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20181101:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20181201:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20190201:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20190401:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20190601:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20190701:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20190801:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20190901:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20191101:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20191201:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20200301:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20200401:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20200501:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20200601:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20200701:VirtualNetworkGateway"), pulumi.Alias( type_="azure-nextgen:network/v20200801:VirtualNetworkGateway") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualNetworkGateway, __self__).__init__( 'azure-nextgen:network/v20170801:VirtualNetworkGateway', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, address_prefix: Optional[pulumi.Input[str]] = None, etag: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, next_hop_ip_address: Optional[pulumi.Input[str]] = None, next_hop_type: Optional[pulumi.Input[Union[ str, 'RouteNextHopType']]] = None, provisioning_state: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, route_name: Optional[pulumi.Input[str]] = None, route_table_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Route resource :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] address_prefix: The destination CIDR to which the route applies. :param pulumi.Input[str] etag: A unique read-only string that changes whenever the resource is updated. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[str] name: The name of the resource that is unique within a resource group. This name can be used to access the resource. :param pulumi.Input[str] next_hop_ip_address: The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. :param pulumi.Input[Union[str, 'RouteNextHopType']] next_hop_type: The type of Azure hop the packet should be sent to. :param pulumi.Input[str] provisioning_state: The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] route_name: The name of the route. :param pulumi.Input[str] route_table_name: The name of the route table. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['address_prefix'] = address_prefix __props__['etag'] = etag __props__['id'] = id __props__['name'] = name __props__['next_hop_ip_address'] = next_hop_ip_address if next_hop_type is None and not opts.urn: raise TypeError("Missing required property 'next_hop_type'") __props__['next_hop_type'] = next_hop_type __props__['provisioning_state'] = provisioning_state if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if route_name is None and not opts.urn: raise TypeError("Missing required property 'route_name'") __props__['route_name'] = route_name if route_table_name is None and not opts.urn: raise TypeError("Missing required property 'route_table_name'") __props__['route_table_name'] = route_table_name alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:network/latest:Route"), pulumi.Alias(type_="azure-nextgen:network/v20150501preview:Route"), pulumi.Alias(type_="azure-nextgen:network/v20150615:Route"), pulumi.Alias(type_="azure-nextgen:network/v20160330:Route"), pulumi.Alias(type_="azure-nextgen:network/v20160601:Route"), pulumi.Alias(type_="azure-nextgen:network/v20160901:Route"), pulumi.Alias(type_="azure-nextgen:network/v20161201:Route"), pulumi.Alias(type_="azure-nextgen:network/v20170301:Route"), pulumi.Alias(type_="azure-nextgen:network/v20170601:Route"), pulumi.Alias(type_="azure-nextgen:network/v20170801:Route"), pulumi.Alias(type_="azure-nextgen:network/v20170901:Route"), pulumi.Alias(type_="azure-nextgen:network/v20171001:Route"), pulumi.Alias(type_="azure-nextgen:network/v20171101:Route"), pulumi.Alias(type_="azure-nextgen:network/v20180101:Route"), pulumi.Alias(type_="azure-nextgen:network/v20180201:Route"), pulumi.Alias(type_="azure-nextgen:network/v20180401:Route"), pulumi.Alias(type_="azure-nextgen:network/v20180601:Route"), pulumi.Alias(type_="azure-nextgen:network/v20180701:Route"), pulumi.Alias(type_="azure-nextgen:network/v20180801:Route"), pulumi.Alias(type_="azure-nextgen:network/v20181001:Route"), pulumi.Alias(type_="azure-nextgen:network/v20181101:Route"), pulumi.Alias(type_="azure-nextgen:network/v20181201:Route"), pulumi.Alias(type_="azure-nextgen:network/v20190401:Route"), pulumi.Alias(type_="azure-nextgen:network/v20190601:Route"), pulumi.Alias(type_="azure-nextgen:network/v20190701:Route"), pulumi.Alias(type_="azure-nextgen:network/v20190801:Route"), pulumi.Alias(type_="azure-nextgen:network/v20190901:Route"), pulumi.Alias(type_="azure-nextgen:network/v20191101:Route"), pulumi.Alias(type_="azure-nextgen:network/v20191201:Route"), pulumi.Alias(type_="azure-nextgen:network/v20200301:Route"), pulumi.Alias(type_="azure-nextgen:network/v20200401:Route"), pulumi.Alias(type_="azure-nextgen:network/v20200501:Route"), pulumi.Alias(type_="azure-nextgen:network/v20200601:Route"), pulumi.Alias(type_="azure-nextgen:network/v20200701:Route"), pulumi.Alias(type_="azure-nextgen:network/v20200801:Route") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Route, __self__).__init__('azure-nextgen:network/v20190201:Route', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, address_space: Optional[pulumi.Input[ pulumi.InputType['AddressSpaceArgs']]] = None, bgp_properties: Optional[pulumi.Input[ pulumi.InputType['BgpSettingsArgs']]] = None, device_properties: Optional[pulumi.Input[ pulumi.InputType['DevicePropertiesArgs']]] = None, id: Optional[pulumi.Input[str]] = None, ip_address: Optional[pulumi.Input[str]] = None, is_security_site: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, o365_policy: Optional[pulumi.Input[ pulumi.InputType['O365PolicyPropertiesArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, site_key: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, virtual_wan: Optional[pulumi.Input[ pulumi.InputType['SubResourceArgs']]] = None, vpn_site_links: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.InputType['VpnSiteLinkArgs']]]]] = None, vpn_site_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ VpnSite Resource. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['AddressSpaceArgs']] address_space: The AddressSpace that contains an array of IP address ranges. :param pulumi.Input[pulumi.InputType['BgpSettingsArgs']] bgp_properties: The set of bgp properties. :param pulumi.Input[pulumi.InputType['DevicePropertiesArgs']] device_properties: The device properties. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[str] ip_address: The ip-address for the vpn-site. :param pulumi.Input[bool] is_security_site: IsSecuritySite flag. :param pulumi.Input[str] location: Resource location. :param pulumi.Input[pulumi.InputType['O365PolicyPropertiesArgs']] o365_policy: Office365 Policy. :param pulumi.Input[str] resource_group_name: The resource group name of the VpnSite. :param pulumi.Input[str] site_key: The key for vpn-site that can be used for connections. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. :param pulumi.Input[pulumi.InputType['SubResourceArgs']] virtual_wan: The VirtualWAN to which the vpnSite belongs. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnSiteLinkArgs']]]] vpn_site_links: List of all vpn site links. :param pulumi.Input[str] vpn_site_name: The name of the VpnSite being created or updated. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['address_space'] = address_space __props__['bgp_properties'] = bgp_properties __props__['device_properties'] = device_properties __props__['id'] = id __props__['ip_address'] = ip_address __props__['is_security_site'] = is_security_site __props__['location'] = location __props__['o365_policy'] = o365_policy if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['site_key'] = site_key __props__['tags'] = tags __props__['virtual_wan'] = virtual_wan __props__['vpn_site_links'] = vpn_site_links if vpn_site_name is None and not opts.urn: raise TypeError("Missing required property 'vpn_site_name'") __props__['vpn_site_name'] = vpn_site_name __props__['etag'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:network/latest:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20180401:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20180601:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20180701:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20180801:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20181001:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20181101:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20181201:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20190201:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20190401:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20190601:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20190701:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20190801:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20190901:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20191101:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20191201:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20200301:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20200401:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20200501:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20200701:VpnSite"), pulumi.Alias(type_="azure-nextgen:network/v20200801:VpnSite") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VpnSite, __self__).__init__('azure-nextgen:network/v20200601:VpnSite', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, bastion_host_name: Optional[pulumi.Input[str]] = None, dns_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, ip_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.InputType['BastionHostIPConfigurationArgs']]]]] = None, location: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ Bastion Host resource. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] bastion_host_name: The name of the Bastion Host. :param pulumi.Input[str] dns_name: FQDN for the endpoint on which bastion host is accessible. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BastionHostIPConfigurationArgs']]]] ip_configurations: IP configuration of the Bastion Host resource. :param pulumi.Input[str] location: Resource location. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if bastion_host_name is None and not opts.urn: raise TypeError( "Missing required property 'bastion_host_name'") __props__['bastion_host_name'] = bastion_host_name __props__['dns_name'] = dns_name __props__['id'] = id __props__['ip_configurations'] = ip_configurations __props__['location'] = location if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['tags'] = tags __props__['etag'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:network/latest:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20190401:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20190601:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20190701:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20190801:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20190901:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20191101:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20191201:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20200301:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20200401:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20200501:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20200701:BastionHost"), pulumi.Alias(type_="azure-nextgen:network/v20200801:BastionHost") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BastionHost, __self__).__init__('azure-nextgen:network/v20200601:BastionHost', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, column_name: Optional[pulumi.Input[str]] = None, database_name: Optional[pulumi.Input[str]] = None, information_type: Optional[pulumi.Input[str]] = None, information_type_id: Optional[pulumi.Input[str]] = None, label_id: Optional[pulumi.Input[str]] = None, label_name: Optional[pulumi.Input[str]] = None, rank: Optional[pulumi.Input['SensitivityLabelRank']] = None, resource_group_name: Optional[pulumi.Input[str]] = None, schema_name: Optional[pulumi.Input[str]] = None, sensitivity_label_source: Optional[pulumi.Input[str]] = None, server_name: Optional[pulumi.Input[str]] = None, table_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ A sensitivity label. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] column_name: The name of the column. :param pulumi.Input[str] database_name: The name of the database. :param pulumi.Input[str] information_type: The information type. :param pulumi.Input[str] information_type_id: The information type ID. :param pulumi.Input[str] label_id: The label ID. :param pulumi.Input[str] label_name: The label name. :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :param pulumi.Input[str] schema_name: The name of the schema. :param pulumi.Input[str] sensitivity_label_source: The source of the sensitivity label. :param pulumi.Input[str] server_name: The name of the server. :param pulumi.Input[str] table_name: The name of the table. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if column_name is None and not opts.urn: raise TypeError("Missing required property 'column_name'") __props__['column_name'] = column_name if database_name is None and not opts.urn: raise TypeError("Missing required property 'database_name'") __props__['database_name'] = database_name __props__['information_type'] = information_type __props__['information_type_id'] = information_type_id __props__['label_id'] = label_id __props__['label_name'] = label_name __props__['rank'] = rank if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if schema_name is None and not opts.urn: raise TypeError("Missing required property 'schema_name'") __props__['schema_name'] = schema_name if sensitivity_label_source is None and not opts.urn: raise TypeError( "Missing required property 'sensitivity_label_source'") __props__['sensitivity_label_source'] = sensitivity_label_source if server_name is None and not opts.urn: raise TypeError("Missing required property 'server_name'") __props__['server_name'] = server_name if table_name is None and not opts.urn: raise TypeError("Missing required property 'table_name'") __props__['table_name'] = table_name __props__['is_disabled'] = None __props__['managed_by'] = None __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_="azure-nextgen:sql/v20170301preview:SensitivityLabel"), pulumi.Alias( type_="azure-nextgen:sql/v20200202preview:SensitivityLabel") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SensitivityLabel, __self__).__init__( 'azure-nextgen:sql/v20200801preview:SensitivityLabel', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, config_store_name: Optional[pulumi.Input[str]] = None, encryption: Optional[pulumi.Input[pulumi.InputType['EncryptionPropertiesArgs']]] = None, identity: Optional[pulumi.Input[pulumi.InputType['ResourceIdentityArgs']]] = None, location: Optional[pulumi.Input[str]] = None, public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ The configuration store along with all resource properties. The Configuration Store will have all information to begin utilizing it. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] config_store_name: The name of the configuration store. :param pulumi.Input[pulumi.InputType['EncryptionPropertiesArgs']] encryption: The encryption settings of the configuration store. :param pulumi.Input[pulumi.InputType['ResourceIdentityArgs']] identity: The managed identity information, if configured. :param pulumi.Input[str] location: The location of the resource. This cannot be changed after the resource is created. :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Control permission for data plane traffic coming from public networks while private endpoint is enabled. :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The sku of the configuration store. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() if config_store_name is None and not opts.urn: raise TypeError("Missing required property 'config_store_name'") __props__['config_store_name'] = config_store_name __props__['encryption'] = encryption __props__['identity'] = identity __props__['location'] = location __props__['public_network_access'] = public_network_access if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if sku is None and not opts.urn: raise TypeError("Missing required property 'sku'") __props__['sku'] = sku __props__['tags'] = tags __props__['creation_date'] = None __props__['endpoint'] = None __props__['name'] = None __props__['private_endpoint_connections'] = None __props__['provisioning_state'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:appconfiguration/latest:ConfigurationStore"), pulumi.Alias(type_="azure-nextgen:appconfiguration/v20190201preview:ConfigurationStore"), pulumi.Alias(type_="azure-nextgen:appconfiguration/v20191001:ConfigurationStore"), pulumi.Alias(type_="azure-nextgen:appconfiguration/v20200601:ConfigurationStore"), pulumi.Alias(type_="azure-nextgen:appconfiguration/v20200701preview:ConfigurationStore")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ConfigurationStore, __self__).__init__( 'azure-nextgen:appconfiguration/v20191101preview:ConfigurationStore', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, account_name: Optional[pulumi.Input[str]] = None, creation_token: Optional[pulumi.Input[str]] = None, data_protection: Optional[pulumi.Input[pulumi.InputType['VolumePropertiesDataProtectionArgs']]] = None, export_policy: Optional[pulumi.Input[pulumi.InputType['VolumePropertiesExportPolicyArgs']]] = None, is_restoring: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, mount_targets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MountTargetPropertiesArgs']]]]] = None, pool_name: Optional[pulumi.Input[str]] = None, protocol_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, service_level: Optional[pulumi.Input[str]] = None, snapshot_directory_visible: Optional[pulumi.Input[bool]] = None, snapshot_id: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, usage_threshold: Optional[pulumi.Input[int]] = None, volume_name: Optional[pulumi.Input[str]] = None, volume_type: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Volume resource :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_name: The name of the NetApp account :param pulumi.Input[str] creation_token: A unique file path for the volume. Used when creating mount targets :param pulumi.Input[pulumi.InputType['VolumePropertiesDataProtectionArgs']] data_protection: DataProtection type volumes include an object containing details of the replication :param pulumi.Input[pulumi.InputType['VolumePropertiesExportPolicyArgs']] export_policy: Set of export policy rules :param pulumi.Input[bool] is_restoring: Restoring :param pulumi.Input[str] location: Resource location :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MountTargetPropertiesArgs']]]] mount_targets: List of mount targets :param pulumi.Input[str] pool_name: The name of the capacity pool :param pulumi.Input[Sequence[pulumi.Input[str]]] protocol_types: Set of protocol types :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] service_level: The service level of the file system :param pulumi.Input[bool] snapshot_directory_visible: If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true). :param pulumi.Input[str] snapshot_id: UUID v4 or resource identifier used to identify the Snapshot. :param pulumi.Input[str] subnet_id: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags :param pulumi.Input[int] usage_threshold: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. :param pulumi.Input[str] volume_name: The name of the volume :param pulumi.Input[str] volume_type: What type of volume is this """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() if account_name is None: raise TypeError("Missing required property 'account_name'") __props__['account_name'] = account_name if creation_token is None: raise TypeError("Missing required property 'creation_token'") __props__['creation_token'] = creation_token __props__['data_protection'] = data_protection __props__['export_policy'] = export_policy __props__['is_restoring'] = is_restoring if location is None: raise TypeError("Missing required property 'location'") __props__['location'] = location __props__['mount_targets'] = mount_targets if pool_name is None: raise TypeError("Missing required property 'pool_name'") __props__['pool_name'] = pool_name __props__['protocol_types'] = protocol_types if resource_group_name is None: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['service_level'] = service_level __props__['snapshot_directory_visible'] = snapshot_directory_visible __props__['snapshot_id'] = snapshot_id if subnet_id is None: raise TypeError("Missing required property 'subnet_id'") __props__['subnet_id'] = subnet_id __props__['tags'] = tags if usage_threshold is None: raise TypeError("Missing required property 'usage_threshold'") __props__['usage_threshold'] = usage_threshold if volume_name is None: raise TypeError("Missing required property 'volume_name'") __props__['volume_name'] = volume_name __props__['volume_type'] = volume_type __props__['baremetal_tenant_id'] = None __props__['file_system_id'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:netapp/latest:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20170815:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20190501:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20190601:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20190701:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20190801:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20191001:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20191101:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20200301:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20200501:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20200601:Volume"), pulumi.Alias(type_="azure-nextgen:netapp/v20200701:Volume")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Volume, __self__).__init__( 'azure-nextgen:netapp/v20200201:Volume', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, access: Optional[pulumi.Input[Union[str, 'SecurityRuleAccess']]] = None, description: Optional[pulumi.Input[str]] = None, destination_address_prefix: Optional[pulumi.Input[str]] = None, destination_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, destination_application_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApplicationSecurityGroupArgs']]]]] = None, destination_port_range: Optional[pulumi.Input[str]] = None, destination_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, direction: Optional[pulumi.Input[Union[str, 'SecurityRuleDirection']]] = None, etag: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, network_security_group_name: Optional[pulumi.Input[str]] = None, priority: Optional[pulumi.Input[int]] = None, protocol: Optional[pulumi.Input[Union[str, 'SecurityRuleProtocol']]] = None, provisioning_state: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, security_rule_name: Optional[pulumi.Input[str]] = None, source_address_prefix: Optional[pulumi.Input[str]] = None, source_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, source_application_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApplicationSecurityGroupArgs']]]]] = None, source_port_range: Optional[pulumi.Input[str]] = None, source_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ Network security rule. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union[str, 'SecurityRuleAccess']] access: The network traffic is allowed or denied. :param pulumi.Input[str] description: A description for this rule. Restricted to 140 chars. :param pulumi.Input[str] destination_address_prefix: The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. :param pulumi.Input[Sequence[pulumi.Input[str]]] destination_address_prefixes: The destination address prefixes. CIDR or destination IP ranges. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApplicationSecurityGroupArgs']]]] destination_application_security_groups: The application security group specified as destination. :param pulumi.Input[str] destination_port_range: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. :param pulumi.Input[Sequence[pulumi.Input[str]]] destination_port_ranges: The destination port ranges. :param pulumi.Input[Union[str, 'SecurityRuleDirection']] direction: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. :param pulumi.Input[str] etag: A unique read-only string that changes whenever the resource is updated. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[str] name: The name of the resource that is unique within a resource group. This name can be used to access the resource. :param pulumi.Input[str] network_security_group_name: The name of the network security group. :param pulumi.Input[int] priority: The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. :param pulumi.Input[Union[str, 'SecurityRuleProtocol']] protocol: Network protocol this rule applies to. :param pulumi.Input[str] provisioning_state: The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] security_rule_name: The name of the security rule. :param pulumi.Input[str] source_address_prefix: The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. :param pulumi.Input[Sequence[pulumi.Input[str]]] source_address_prefixes: The CIDR or source IP ranges. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApplicationSecurityGroupArgs']]]] source_application_security_groups: The application security group specified as source. :param pulumi.Input[str] source_port_range: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. :param pulumi.Input[Sequence[pulumi.Input[str]]] source_port_ranges: The source port ranges. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() if access is None and not opts.urn: raise TypeError("Missing required property 'access'") __props__['access'] = access __props__['description'] = description __props__['destination_address_prefix'] = destination_address_prefix __props__['destination_address_prefixes'] = destination_address_prefixes __props__['destination_application_security_groups'] = destination_application_security_groups __props__['destination_port_range'] = destination_port_range __props__['destination_port_ranges'] = destination_port_ranges if direction is None and not opts.urn: raise TypeError("Missing required property 'direction'") __props__['direction'] = direction __props__['etag'] = etag __props__['id'] = id __props__['name'] = name if network_security_group_name is None and not opts.urn: raise TypeError("Missing required property 'network_security_group_name'") __props__['network_security_group_name'] = network_security_group_name __props__['priority'] = priority if protocol is None and not opts.urn: raise TypeError("Missing required property 'protocol'") __props__['protocol'] = protocol __props__['provisioning_state'] = provisioning_state if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if security_rule_name is None and not opts.urn: raise TypeError("Missing required property 'security_rule_name'") __props__['security_rule_name'] = security_rule_name __props__['source_address_prefix'] = source_address_prefix __props__['source_address_prefixes'] = source_address_prefixes __props__['source_application_security_groups'] = source_application_security_groups __props__['source_port_range'] = source_port_range __props__['source_port_ranges'] = source_port_ranges alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:network/latest:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20150501preview:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20150615:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20160330:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20160601:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20160901:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20161201:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20170301:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20170601:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20170801:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20170901:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20171001:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20171101:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20180101:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20180201:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20180401:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20180601:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20180701:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20180801:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20181001:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20181101:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20181201:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20190201:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20190401:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20190701:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20190801:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20190901:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20191101:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20191201:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20200301:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20200401:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20200501:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20200601:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20200701:SecurityRule"), pulumi.Alias(type_="azure-nextgen:network/v20200801:SecurityRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityRule, __self__).__init__( 'azure-nextgen:network/v20190601:SecurityRule', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, address_prefix: Optional[pulumi.Input[str]] = None, authorization_key: Optional[pulumi.Input[str]] = None, circuit_name: Optional[pulumi.Input[str]] = None, connection_name: Optional[pulumi.Input[str]] = None, express_route_circuit_peering: Optional[pulumi.Input[pulumi.InputType['SubResourceArgs']]] = None, id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, peer_express_route_circuit_peering: Optional[pulumi.Input[pulumi.InputType['SubResourceArgs']]] = None, peering_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, __props__=None, __name__=None, __opts__=None): """ Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] address_prefix: /29 IP address space to carve out Customer addresses for tunnels. :param pulumi.Input[str] authorization_key: The authorization key. :param pulumi.Input[str] circuit_name: The name of the express route circuit. :param pulumi.Input[str] connection_name: The name of the express route circuit connection. :param pulumi.Input[pulumi.InputType['SubResourceArgs']] express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. :param pulumi.Input[str] id: Resource ID. :param pulumi.Input[str] name: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. :param pulumi.Input[pulumi.InputType['SubResourceArgs']] peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the peered circuit. :param pulumi.Input[str] peering_name: The name of the peering. :param pulumi.Input[str] resource_group_name: The name of the resource group. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() __props__['address_prefix'] = address_prefix __props__['authorization_key'] = authorization_key if circuit_name is None and not opts.urn: raise TypeError("Missing required property 'circuit_name'") __props__['circuit_name'] = circuit_name if connection_name is None and not opts.urn: raise TypeError("Missing required property 'connection_name'") __props__['connection_name'] = connection_name __props__['express_route_circuit_peering'] = express_route_circuit_peering __props__['id'] = id __props__['name'] = name __props__['peer_express_route_circuit_peering'] = peer_express_route_circuit_peering if peering_name is None and not opts.urn: raise TypeError("Missing required property 'peering_name'") __props__['peering_name'] = peering_name if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['circuit_connection_status'] = None __props__['etag'] = None __props__['provisioning_state'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:network/latest:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180201:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180401:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180601:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20180801:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20181001:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20181101:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20181201:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190201:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190401:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190601:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190701:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190801:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20190901:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20191101:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20191201:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200301:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200401:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200501:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200601:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200701:ExpressRouteCircuitConnection"), pulumi.Alias(type_="azure-nextgen:network/v20200801:ExpressRouteCircuitConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ExpressRouteCircuitConnection, __self__).__init__( 'azure-nextgen:network/v20180701:ExpressRouteCircuitConnection', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, agent_pool_profiles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenShiftManagedClusterAgentPoolProfileArgs']]]]] = None, auth_profile: Optional[pulumi.Input[pulumi.InputType['OpenShiftManagedClusterAuthProfileArgs']]] = None, location: Optional[pulumi.Input[str]] = None, master_pool_profile: Optional[pulumi.Input[pulumi.InputType['OpenShiftManagedClusterMasterPoolProfileArgs']]] = None, monitor_profile: Optional[pulumi.Input[pulumi.InputType['OpenShiftManagedClusterMonitorProfileArgs']]] = None, network_profile: Optional[pulumi.Input[pulumi.InputType['NetworkProfileArgs']]] = None, open_shift_version: Optional[pulumi.Input[str]] = None, plan: Optional[pulumi.Input[pulumi.InputType['PurchasePlanArgs']]] = None, refresh_cluster: Optional[pulumi.Input[bool]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, resource_name_: Optional[pulumi.Input[str]] = None, router_profiles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenShiftRouterProfileArgs']]]]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ OpenShift Managed cluster. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenShiftManagedClusterAgentPoolProfileArgs']]]] agent_pool_profiles: Configuration of OpenShift cluster VMs. :param pulumi.Input[pulumi.InputType['OpenShiftManagedClusterAuthProfileArgs']] auth_profile: Configures OpenShift authentication. :param pulumi.Input[str] location: Resource location :param pulumi.Input[pulumi.InputType['OpenShiftManagedClusterMasterPoolProfileArgs']] master_pool_profile: Configuration for OpenShift master VMs. :param pulumi.Input[pulumi.InputType['OpenShiftManagedClusterMonitorProfileArgs']] monitor_profile: Configures Log Analytics integration. :param pulumi.Input[pulumi.InputType['NetworkProfileArgs']] network_profile: Configuration for OpenShift networking. :param pulumi.Input[str] open_shift_version: Version of OpenShift specified when creating the cluster. :param pulumi.Input[pulumi.InputType['PurchasePlanArgs']] plan: Define the resource plan as required by ARM for billing purposes :param pulumi.Input[bool] refresh_cluster: Allows node rotation :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] resource_name_: The name of the OpenShift managed cluster resource. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenShiftRouterProfileArgs']]]] router_profiles: Configuration for OpenShift router(s). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() __props__['agent_pool_profiles'] = agent_pool_profiles __props__['auth_profile'] = auth_profile if location is None: raise TypeError("Missing required property 'location'") __props__['location'] = location __props__['master_pool_profile'] = master_pool_profile __props__['monitor_profile'] = monitor_profile __props__['network_profile'] = network_profile if open_shift_version is None: raise TypeError("Missing required property 'open_shift_version'") __props__['open_shift_version'] = open_shift_version __props__['plan'] = plan __props__['refresh_cluster'] = refresh_cluster if resource_group_name is None: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if resource_name_ is None: raise TypeError("Missing required property 'resource_name_'") __props__['resource_name'] = resource_name_ __props__['router_profiles'] = router_profiles __props__['tags'] = tags __props__['cluster_version'] = None __props__['fqdn'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['public_hostname'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:containerservice/latest:OpenShiftManagedCluster"), pulumi.Alias(type_="azure-nextgen:containerservice/v20180930preview:OpenShiftManagedCluster"), pulumi.Alias(type_="azure-nextgen:containerservice/v20190430:OpenShiftManagedCluster"), pulumi.Alias(type_="azure-nextgen:containerservice/v20190930preview:OpenShiftManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OpenShiftManagedCluster, __self__).__init__( 'azure-nextgen:containerservice/v20191027preview:OpenShiftManagedCluster', resource_name, __props__, opts)
def __init__( __self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, automation_account_name: Optional[pulumi.Input[str]] = None, configuration: Optional[pulumi.Input[pulumi.InputType[ 'DscConfigurationAssociationPropertyArgs']]] = None, increment_node_configuration_build: Optional[ pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, node_configuration_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[ pulumi.InputType['ContentSourceArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ Definition of the dsc node configuration. Latest API Version: 2019-06-01. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] automation_account_name: The name of the automation account. :param pulumi.Input[pulumi.InputType['DscConfigurationAssociationPropertyArgs']] configuration: Gets or sets the configuration of the node. :param pulumi.Input[bool] increment_node_configuration_build: If a new build version of NodeConfiguration is required. :param pulumi.Input[str] name: Name of the node configuration. :param pulumi.Input[str] node_configuration_name: The Dsc node configuration name. :param pulumi.Input[str] resource_group_name: Name of an Azure Resource group. :param pulumi.Input[pulumi.InputType['ContentSourceArgs']] source: Gets or sets the source. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the tags attached to the resource. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() if automation_account_name is None and not opts.urn: raise TypeError( "Missing required property 'automation_account_name'") __props__['automation_account_name'] = automation_account_name if configuration is None and not opts.urn: raise TypeError("Missing required property 'configuration'") __props__['configuration'] = configuration __props__[ 'increment_node_configuration_build'] = increment_node_configuration_build __props__['name'] = name if node_configuration_name is None and not opts.urn: raise TypeError( "Missing required property 'node_configuration_name'") __props__['node_configuration_name'] = node_configuration_name if resource_group_name is None and not opts.urn: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if source is None and not opts.urn: raise TypeError("Missing required property 'source'") __props__['source'] = source __props__['tags'] = tags __props__['creation_time'] = None __props__['last_modified_time'] = None __props__['node_count'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias( type_="azure-nextgen:automation/v20151031:DscNodeConfiguration" ), pulumi.Alias( type_="azure-nextgen:automation/v20180115:DscNodeConfiguration" ), pulumi.Alias( type_="azure-nextgen:automation/v20190601:DscNodeConfiguration" ), pulumi.Alias( type_= "azure-nextgen:automation/v20200113preview:DscNodeConfiguration" ) ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DscNodeConfiguration, __self__).__init__( 'azure-nextgen:automation/latest:DscNodeConfiguration', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, location: Optional[pulumi.Input[str]] = None, properties: Optional[pulumi.Input[Union[pulumi.InputType['ServerPropertiesForDefaultCreateArgs'], pulumi.InputType['ServerPropertiesForGeoRestoreArgs'], pulumi.InputType['ServerPropertiesForReplicaArgs'], pulumi.InputType['ServerPropertiesForRestoreArgs']]]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, server_name: Optional[pulumi.Input[str]] = None, sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ Represents a server. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] location: The location the resource resides in. :param pulumi.Input[Union[pulumi.InputType['ServerPropertiesForDefaultCreateArgs'], pulumi.InputType['ServerPropertiesForGeoRestoreArgs'], pulumi.InputType['ServerPropertiesForReplicaArgs'], pulumi.InputType['ServerPropertiesForRestoreArgs']]] properties: Properties of the server. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. :param pulumi.Input[str] server_name: The name of the server. :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The SKU (pricing tier) of the server. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Application-specific metadata in the form of key-value pairs. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() if location is None: raise TypeError("Missing required property 'location'") __props__['location'] = location if properties is None: raise TypeError("Missing required property 'properties'") __props__['properties'] = properties if resource_group_name is None: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if server_name is None: raise TypeError("Missing required property 'server_name'") __props__['server_name'] = server_name __props__['sku'] = sku __props__['tags'] = tags __props__['administrator_login'] = None __props__['earliest_restore_date'] = None __props__['fully_qualified_domain_name'] = None __props__['master_server_id'] = None __props__['name'] = None __props__['private_endpoint_connections'] = None __props__['public_network_access'] = None __props__['replica_capacity'] = None __props__['replication_role'] = None __props__['ssl_enforcement'] = None __props__['storage_profile'] = None __props__['type'] = None __props__['user_visible_state'] = None __props__['version'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:dbformariadb/v20180601:Server"), pulumi.Alias(type_="azure-nextgen:dbformariadb/v20180601preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-nextgen:dbformariadb/latest:Server', resource_name, __props__, opts)
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, endpoint_location: Optional[pulumi.Input[str]] = None, endpoint_monitor_status: Optional[pulumi.Input[str]] = None, endpoint_name: Optional[pulumi.Input[str]] = None, endpoint_status: Optional[pulumi.Input[str]] = None, endpoint_type: Optional[pulumi.Input[str]] = None, geo_mapping: Optional[pulumi.Input[Sequence[ pulumi.Input[str]]]] = None, min_child_endpoints: Optional[pulumi.Input[int]] = None, priority: Optional[pulumi.Input[int]] = None, profile_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[str]] = None, target_resource_id: Optional[pulumi.Input[str]] = None, weight: Optional[pulumi.Input[int]] = None, __props__=None, __name__=None, __opts__=None): """ Class representing a Traffic Manager endpoint. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] endpoint_location: Specifies the location of the external or nested endpoints when using the ‘Performance’ traffic routing method. :param pulumi.Input[str] endpoint_monitor_status: The monitoring status of the endpoint. :param pulumi.Input[str] endpoint_name: The name of the Traffic Manager endpoint to be created or updated. :param pulumi.Input[str] endpoint_status: The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. :param pulumi.Input[str] endpoint_type: The type of the Traffic Manager endpoint to be created or updated. :param pulumi.Input[Sequence[pulumi.Input[str]]] geo_mapping: The list of countries/regions mapped to this endpoint when using the ‘Geographic’ traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values. :param pulumi.Input[int] min_child_endpoints: The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'. :param pulumi.Input[int] priority: The priority of this endpoint when using the ‘Priority’ traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value. :param pulumi.Input[str] profile_name: The name of the Traffic Manager profile. :param pulumi.Input[str] resource_group_name: The name of the resource group containing the Traffic Manager endpoint to be created or updated. :param pulumi.Input[str] target: The fully-qualified DNS name of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint. :param pulumi.Input[str] target_resource_id: The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'. :param pulumi.Input[int] weight: The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn( "explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError( 'Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError( '__props__ is only valid when passed in combination with a valid opts.id to get an existing resource' ) __props__ = dict() __props__['endpoint_location'] = endpoint_location __props__['endpoint_monitor_status'] = endpoint_monitor_status if endpoint_name is None: raise TypeError("Missing required property 'endpoint_name'") __props__['endpoint_name'] = endpoint_name __props__['endpoint_status'] = endpoint_status if endpoint_type is None: raise TypeError("Missing required property 'endpoint_type'") __props__['endpoint_type'] = endpoint_type __props__['geo_mapping'] = geo_mapping __props__['min_child_endpoints'] = min_child_endpoints __props__['priority'] = priority if profile_name is None: raise TypeError("Missing required property 'profile_name'") __props__['profile_name'] = profile_name if resource_group_name is None: raise TypeError( "Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name __props__['target'] = target __props__['target_resource_id'] = target_resource_id __props__['weight'] = weight __props__['name'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[ pulumi.Alias(type_="azure-nextgen:network/latest:Endpoint"), pulumi.Alias(type_="azure-nextgen:network/v20151101:Endpoint"), pulumi.Alias(type_="azure-nextgen:network/v20170301:Endpoint"), pulumi.Alias(type_="azure-nextgen:network/v20180201:Endpoint"), pulumi.Alias(type_="azure-nextgen:network/v20180301:Endpoint"), pulumi.Alias(type_="azure-nextgen:network/v20180401:Endpoint") ]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Endpoint, __self__).__init__('azure-nextgen:network/v20170501:Endpoint', resource_name, __props__, opts)