body
stringlengths
26
98.2k
body_hash
int64
-9,222,864,604,528,158,000
9,221,803,474B
docstring
stringlengths
1
16.8k
path
stringlengths
5
230
name
stringlengths
1
96
repository_name
stringlengths
7
89
lang
stringclasses
1 value
body_without_docstring
stringlengths
20
98.2k
@property @pulumi.getter(name='diskConfigs') def disk_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DiskInstantiationConfigArgs']]]]: '\n Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each dis...
6,694,595,955,768,700,000
Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disk_configs
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='diskConfigs') def disk_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DiskInstantiationConfigArgs']]]]: '\n \n ' return pulumi.get(self, 'disk_configs')
def __init__(__self__, *, domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n Configuration and status of a managed SSL certificate.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] domains: The domains for which a managed SSL certificate will be generated. Each Google-managed SS...
2,298,646,059,395,573,000
Configuration and status of a managed SSL certificate. :param pulumi.Input[Sequence[pulumi.Input[str]]] domains: The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/q...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n Configuration and status of a managed SSL certificate.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] domains: The domains for which a managed SSL certificate will be generated. Each Google-managed SS...
@property @pulumi.getter def domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/...
-801,400,469,837,250,600
The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates).
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
domains
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'domains')
def __init__(__self__, *, certificate: Optional[pulumi.Input[str]]=None, private_key: Optional[pulumi.Input[str]]=None): '\n Configuration and status of a self-managed SSL certificate.\n :param pulumi.Input[str] certificate: A local certificate file. The certificate must be in PEM format. The certific...
-3,251,247,457,154,369,000
Configuration and status of a self-managed SSL certificate. :param pulumi.Input[str] certificate: A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. :param pulumi.Input[str] private_key: A wr...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, certificate: Optional[pulumi.Input[str]]=None, private_key: Optional[pulumi.Input[str]]=None): '\n Configuration and status of a self-managed SSL certificate.\n :param pulumi.Input[str] certificate: A local certificate file. The certificate must be in PEM format. The certific...
@property @pulumi.getter def certificate(self) -> Optional[pulumi.Input[str]]: '\n A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.\n ' return pulumi.get(self, 'certif...
992,994,979,013,630,700
A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
certificate
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def certificate(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'certificate')
@property @pulumi.getter(name='privateKey') def private_key(self) -> Optional[pulumi.Input[str]]: '\n A write-only private key in PEM format. Only insert requests will include this field.\n ' return pulumi.get(self, 'private_key')
6,906,119,816,546,174,000
A write-only private key in PEM format. Only insert requests will include this field.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
private_key
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='privateKey') def private_key(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'private_key')
def __init__(__self__, *, disks: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, external_ips: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, internal_ips: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None): '\n Configuration of preserved resources.\n :par...
-6,516,927,209,852,241,000
Configuration of preserved resources. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] disks: Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] external_ips: External netwo...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, disks: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, external_ips: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, internal_ips: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None): '\n Configuration of preserved resources.\n :par...
@property @pulumi.getter def disks(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.\n ' return pulumi.get(self, 'disks')
317,183,485,970,914,300
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disks
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def disks(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n \n ' return pulumi.get(self, 'disks')
@property @pulumi.getter(name='externalIPs') def external_ips(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.\n ' return...
-5,193,703,043,888,742,000
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
external_ips
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='externalIPs') def external_ips(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n \n ' return pulumi.get(self, 'external_ips')
@property @pulumi.getter(name='internalIPs') def internal_ips(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.\n ' return...
1,221,492,189,674,744,300
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
internal_ips
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='internalIPs') def internal_ips(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n \n ' return pulumi.get(self, 'internal_ips')
def __init__(__self__, *, aggregation_interval: Optional[pulumi.Input['SubnetworkLogConfigAggregationInterval']]=None, enable: Optional[pulumi.Input[bool]]=None, filter_expr: Optional[pulumi.Input[str]]=None, flow_sampling: Optional[pulumi.Input[float]]=None, metadata: Optional[pulumi.Input['SubnetworkLogConfigMetadata...
-3,703,733,338,975,116,000
The available logging options for this subnetwork. :param pulumi.Input['SubnetworkLogConfigAggregationInterval'] aggregation_interval: Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount ...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, aggregation_interval: Optional[pulumi.Input['SubnetworkLogConfigAggregationInterval']]=None, enable: Optional[pulumi.Input[bool]]=None, filter_expr: Optional[pulumi.Input[str]]=None, flow_sampling: Optional[pulumi.Input[float]]=None, metadata: Optional[pulumi.Input['SubnetworkLogConfigMetadata...
@property @pulumi.getter(name='aggregationInterval') def aggregation_interval(self) -> Optional[pulumi.Input['SubnetworkLogConfigAggregationInterval']]: '\n Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the inte...
-8,019,831,664,169,900,000
Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
aggregation_interval
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='aggregationInterval') def aggregation_interval(self) -> Optional[pulumi.Input['SubnetworkLogConfigAggregationInterval']]: '\n \n ' return pulumi.get(self, 'aggregation_interval')
@property @pulumi.getter def enable(self) -> Optional[pulumi.Input[bool]]: '\n Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, the...
5,968,088,489,047,242,000
Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def enable(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable')
@property @pulumi.getter(name='filterExpr') def filter_expr(self) -> Optional[pulumi.Input[str]]: '\n Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.\n ' return pulumi.get(self, 'filter_expr')
2,572,489,801,882,862,000
Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
filter_expr
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='filterExpr') def filter_expr(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'filter_expr')
@property @pulumi.getter(name='flowSampling') def flow_sampling(self) -> Optional[pulumi.Input[float]]: '\n Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all coll...
8,526,403,739,502,243,000
Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
flow_sampling
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='flowSampling') def flow_sampling(self) -> Optional[pulumi.Input[float]]: '\n \n ' return pulumi.get(self, 'flow_sampling')
@property @pulumi.getter def metadata(self) -> Optional[pulumi.Input['SubnetworkLogConfigMetadata']]: '\n Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_ME...
6,738,678,486,944,232,000
Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
metadata
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def metadata(self) -> Optional[pulumi.Input['SubnetworkLogConfigMetadata']]: '\n \n ' return pulumi.get(self, 'metadata')
@property @pulumi.getter(name='metadataFields') def metadata_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.\n ' return pulumi.get(self, 'metadata_fields')
-1,913,677,869,542,642,000
Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
metadata_fields
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='metadataFields') def metadata_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'metadata_fields')
def __init__(__self__, *, ip_cidr_range: Optional[pulumi.Input[str]]=None, range_name: Optional[pulumi.Input[str]]=None, reserved_internal_range: Optional[pulumi.Input[str]]=None): '\n Represents a secondary IP range of a subnetwork.\n :param pulumi.Input[str] ip_cidr_range: The range of IP addresses ...
-7,837,676,004,492,317,000
Represents a secondary IP range of a subnetwork. :param pulumi.Input[str] ip_cidr_range: The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, ip_cidr_range: Optional[pulumi.Input[str]]=None, range_name: Optional[pulumi.Input[str]]=None, reserved_internal_range: Optional[pulumi.Input[str]]=None): '\n Represents a secondary IP range of a subnetwork.\n :param pulumi.Input[str] ip_cidr_range: The range of IP addresses ...
@property @pulumi.getter(name='ipCidrRange') def ip_cidr_range(self) -> Optional[pulumi.Input[str]]: '\n The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ra...
4,145,575,447,225,277,400
The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ip_cidr_range
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='ipCidrRange') def ip_cidr_range(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'ip_cidr_range')
@property @pulumi.getter(name='rangeName') def range_name(self) -> Optional[pulumi.Input[str]]: '\n The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the...
-1,671,520,963,815,155,500
The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
range_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='rangeName') def range_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'range_name')
@property @pulumi.getter(name='reservedInternalRange') def reserved_internal_range(self) -> Optional[pulumi.Input[str]]: '\n The URL of the reserved internal range.\n ' return pulumi.get(self, 'reserved_internal_range')
-2,981,251,857,079,136,000
The URL of the reserved internal range.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
reserved_internal_range
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='reservedInternalRange') def reserved_internal_range(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'reserved_internal_range')
def __init__(__self__, *, policy: Optional[pulumi.Input['SubsettingPolicy']]=None, subset_size: Optional[pulumi.Input[int]]=None): '\n Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director....
-2,292,544,194,412,058,600
Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director. :param pulumi.Input[int] subset_size: The number of backends per backend group assigned to each proxy instance or each service mesh client. An in...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, policy: Optional[pulumi.Input['SubsettingPolicy']]=None, subset_size: Optional[pulumi.Input[int]]=None): '\n Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director....
@property @pulumi.getter(name='subsetSize') def subset_size(self) -> Optional[pulumi.Input[int]]: '\n The number of backends per backend group assigned to each proxy instance or each service mesh client. An input parameter to the `CONSISTENT_HASH_SUBSETTING` algorithm. Can only be set if `policy` is set to `...
4,824,476,792,218,949,000
The number of backends per backend group assigned to each proxy instance or each service mesh client. An input parameter to the `CONSISTENT_HASH_SUBSETTING` algorithm. Can only be set if `policy` is set to `CONSISTENT_HASH_SUBSETTING`. Can only be set if load balancing scheme is `INTERNAL_MANAGED` or `INTERNAL_SELF_MAN...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
subset_size
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='subsetSize') def subset_size(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'subset_size')
def __init__(__self__, *, port: Optional[pulumi.Input[int]]=None, port_name: Optional[pulumi.Input[str]]=None, port_specification: Optional[pulumi.Input['TCPHealthCheckPortSpecification']]=None, proxy_header: Optional[pulumi.Input['TCPHealthCheckProxyHeader']]=None, request: Optional[pulumi.Input[str]]=None, response: ...
6,303,805,084,441,019,000
:param pulumi.Input[int] port: The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535. :param pulumi.Input[str] port_name: Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. :param pulumi.Input['TCPHea...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, port: Optional[pulumi.Input[int]]=None, port_name: Optional[pulumi.Input[str]]=None, port_specification: Optional[pulumi.Input['TCPHealthCheckPortSpecification']]=None, proxy_header: Optional[pulumi.Input['TCPHealthCheckProxyHeader']]=None, request: Optional[pulumi.Input[str]]=None, response: ...
@property @pulumi.getter def port(self) -> Optional[pulumi.Input[int]]: '\n The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.\n ' return pulumi.get(self, 'port')
-4,601,225,271,956,249,600
The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
port
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def port(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'port')
@property @pulumi.getter(name='portName') def port_name(self) -> Optional[pulumi.Input[str]]: '\n Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.\n ' return pulumi.get(self, 'port_name')
-819,122,187,026,193,200
Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
port_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='portName') def port_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'port_name')
@property @pulumi.getter(name='portSpecification') def port_specification(self) -> Optional[pulumi.Input['TCPHealthCheckPortSpecification']]: '\n Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_...
-4,109,359,466,998,899,000
Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health c...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
port_specification
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='portSpecification') def port_specification(self) -> Optional[pulumi.Input['TCPHealthCheckPortSpecification']]: '\n \n ' return pulumi.get(self, 'port_specification')
@property @pulumi.getter(name='proxyHeader') def proxy_header(self) -> Optional[pulumi.Input['TCPHealthCheckProxyHeader']]: '\n Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.\n ' return pulumi.get(self, 'proxy_header')
-80,188,806,129,658,860
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
proxy_header
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='proxyHeader') def proxy_header(self) -> Optional[pulumi.Input['TCPHealthCheckProxyHeader']]: '\n \n ' return pulumi.get(self, 'proxy_header')
@property @pulumi.getter def request(self) -> Optional[pulumi.Input[str]]: '\n The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCI...
-3,334,077,532,030,340,000
The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
request
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def request(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'request')
@property @pulumi.getter def response(self) -> Optional[pulumi.Input[str]]: '\n The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.\n ' return pulumi.get(self, 'response')
-5,870,028,318,372,682,000
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
response
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def response(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'response')
def __init__(__self__, *, items: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n A set of instance tags.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] items: An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.\n ' if (items is not None): ...
8,779,581,505,768,789,000
A set of instance tags. :param pulumi.Input[Sequence[pulumi.Input[str]]] items: An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, items: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n A set of instance tags.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] items: An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.\n ' if (items is not None): ...
@property @pulumi.getter def items(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.\n ' return pulumi.get(self, 'items')
-3,906,945,972,655,431,000
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
items
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def items(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'items')
def __init__(__self__, *, certificate_paths: Optional[pulumi.Input['TlsCertificatePathsArgs']]=None, certificate_source: Optional[pulumi.Input['TlsCertificateContextCertificateSource']]=None, sds_config: Optional[pulumi.Input['SdsConfigArgs']]=None): "\n [Deprecated] Defines the mechanism to obtain the clien...
-7,256,131,493,516,926,000
[Deprecated] Defines the mechanism to obtain the client or server certificate. Defines the mechanism to obtain the client or server certificate. :param pulumi.Input['TlsCertificatePathsArgs'] certificate_paths: Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, certificate_paths: Optional[pulumi.Input['TlsCertificatePathsArgs']]=None, certificate_source: Optional[pulumi.Input['TlsCertificateContextCertificateSource']]=None, sds_config: Optional[pulumi.Input['SdsConfigArgs']]=None): "\n [Deprecated] Defines the mechanism to obtain the clien...
@property @pulumi.getter(name='certificatePaths') def certificate_paths(self) -> Optional[pulumi.Input['TlsCertificatePathsArgs']]: '\n Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH.\n ' return pulumi.get(self, 'certificat...
-3,643,304,083,716,361,000
Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
certificate_paths
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='certificatePaths') def certificate_paths(self) -> Optional[pulumi.Input['TlsCertificatePathsArgs']]: '\n \n ' return pulumi.get(self, 'certificate_paths')
@property @pulumi.getter(name='certificateSource') def certificate_source(self) -> Optional[pulumi.Input['TlsCertificateContextCertificateSource']]: '\n Defines how TLS certificates are obtained.\n ' return pulumi.get(self, 'certificate_source')
-4,851,310,265,105,012,000
Defines how TLS certificates are obtained.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
certificate_source
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='certificateSource') def certificate_source(self) -> Optional[pulumi.Input['TlsCertificateContextCertificateSource']]: '\n \n ' return pulumi.get(self, 'certificate_source')
@property @pulumi.getter(name='sdsConfig') def sds_config(self) -> Optional[pulumi.Input['SdsConfigArgs']]: '\n Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.\n ' return pulumi.get(self, 'sds_config')
2,803,324,804,546,200,600
Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
sds_config
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sdsConfig') def sds_config(self) -> Optional[pulumi.Input['SdsConfigArgs']]: '\n \n ' return pulumi.get(self, 'sds_config')
def __init__(__self__, *, certificate_path: Optional[pulumi.Input[str]]=None, private_key_path: Optional[pulumi.Input[str]]=None): '\n [Deprecated] The paths to the mounted TLS Certificates and private key. The paths to the mounted TLS Certificates and private key.\n :param pulumi.Input[str] certifica...
8,803,245,741,830,943,000
[Deprecated] The paths to the mounted TLS Certificates and private key. The paths to the mounted TLS Certificates and private key. :param pulumi.Input[str] certificate_path: The path to the file holding the client or server TLS certificate to use. :param pulumi.Input[str] private_key_path: The path to the file holding ...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, certificate_path: Optional[pulumi.Input[str]]=None, private_key_path: Optional[pulumi.Input[str]]=None): '\n [Deprecated] The paths to the mounted TLS Certificates and private key. The paths to the mounted TLS Certificates and private key.\n :param pulumi.Input[str] certifica...
@property @pulumi.getter(name='certificatePath') def certificate_path(self) -> Optional[pulumi.Input[str]]: '\n The path to the file holding the client or server TLS certificate to use.\n ' return pulumi.get(self, 'certificate_path')
3,523,587,431,301,809,700
The path to the file holding the client or server TLS certificate to use.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
certificate_path
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='certificatePath') def certificate_path(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'certificate_path')
@property @pulumi.getter(name='privateKeyPath') def private_key_path(self) -> Optional[pulumi.Input[str]]: '\n The path to the file holding the client or server private key.\n ' return pulumi.get(self, 'private_key_path')
-7,577,956,022,052,257,000
The path to the file holding the client or server private key.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
private_key_path
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='privateKeyPath') def private_key_path(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'private_key_path')
def __init__(__self__, *, certificate_context: Optional[pulumi.Input['TlsCertificateContextArgs']]=None, validation_context: Optional[pulumi.Input['TlsValidationContextArgs']]=None): "\n [Deprecated] The TLS settings for the client or server. The TLS settings for the client or server.\n :param pulumi....
-4,514,280,736,935,768,000
[Deprecated] The TLS settings for the client or server. The TLS settings for the client or server. :param pulumi.Input['TlsCertificateContextArgs'] certificate_context: Defines the mechanism to obtain the client or server certificate. :param pulumi.Input['TlsValidationContextArgs'] validation_context: Defines the mecha...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, certificate_context: Optional[pulumi.Input['TlsCertificateContextArgs']]=None, validation_context: Optional[pulumi.Input['TlsValidationContextArgs']]=None): "\n [Deprecated] The TLS settings for the client or server. The TLS settings for the client or server.\n :param pulumi....
@property @pulumi.getter(name='certificateContext') def certificate_context(self) -> Optional[pulumi.Input['TlsCertificateContextArgs']]: '\n Defines the mechanism to obtain the client or server certificate.\n ' return pulumi.get(self, 'certificate_context')
-8,749,458,195,540,266,000
Defines the mechanism to obtain the client or server certificate.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
certificate_context
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='certificateContext') def certificate_context(self) -> Optional[pulumi.Input['TlsCertificateContextArgs']]: '\n \n ' return pulumi.get(self, 'certificate_context')
@property @pulumi.getter(name='validationContext') def validation_context(self) -> Optional[pulumi.Input['TlsValidationContextArgs']]: '\n Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. If omitted, the proxy will not validate the server or cli...
973,475,124,376,409,700
Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. If omitted, the proxy will not validate the server or client certificate.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
validation_context
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='validationContext') def validation_context(self) -> Optional[pulumi.Input['TlsValidationContextArgs']]: '\n \n ' return pulumi.get(self, 'validation_context')
def __init__(__self__, *, certificate_path: Optional[pulumi.Input[str]]=None, sds_config: Optional[pulumi.Input['SdsConfigArgs']]=None, validation_source: Optional[pulumi.Input['TlsValidationContextValidationSource']]=None): "\n [Deprecated] Defines the mechanism to obtain the Certificate Authority certifica...
-3,374,434,755,977,117,700
[Deprecated] Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. validate the client/server certificate. :param pulumi.Input[str] certificate_path: The path to the file holding the CA certificate to validate the client or server certificate. :param pulumi.Inp...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, certificate_path: Optional[pulumi.Input[str]]=None, sds_config: Optional[pulumi.Input['SdsConfigArgs']]=None, validation_source: Optional[pulumi.Input['TlsValidationContextValidationSource']]=None): "\n [Deprecated] Defines the mechanism to obtain the Certificate Authority certifica...
@property @pulumi.getter(name='certificatePath') def certificate_path(self) -> Optional[pulumi.Input[str]]: '\n The path to the file holding the CA certificate to validate the client or server certificate.\n ' return pulumi.get(self, 'certificate_path')
-3,520,012,649,785,625,000
The path to the file holding the CA certificate to validate the client or server certificate.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
certificate_path
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='certificatePath') def certificate_path(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'certificate_path')
@property @pulumi.getter(name='sdsConfig') def sds_config(self) -> Optional[pulumi.Input['SdsConfigArgs']]: '\n Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.\n ' return pulumi.get(self, 'sds_config')
2,803,324,804,546,200,600
Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
sds_config
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sdsConfig') def sds_config(self) -> Optional[pulumi.Input['SdsConfigArgs']]: '\n \n ' return pulumi.get(self, 'sds_config')
@property @pulumi.getter(name='validationSource') def validation_source(self) -> Optional[pulumi.Input['TlsValidationContextValidationSource']]: '\n Defines how TLS certificates are obtained.\n ' return pulumi.get(self, 'validation_source')
4,402,703,393,530,824,700
Defines how TLS certificates are obtained.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
validation_source
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='validationSource') def validation_source(self) -> Optional[pulumi.Input['TlsValidationContextValidationSource']]: '\n \n ' return pulumi.get(self, 'validation_source')
def __init__(__self__, *, port: Optional[pulumi.Input[int]]=None, port_name: Optional[pulumi.Input[str]]=None, request: Optional[pulumi.Input[str]]=None, response: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[int] port: The UDP port number for the health check request. Valid values are 1 throug...
-7,475,498,768,600,358,000
:param pulumi.Input[int] port: The UDP port number for the health check request. Valid values are 1 through 65535. :param pulumi.Input[str] port_name: Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. :param pulumi.Input[str] request: Raw data of reques...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, port: Optional[pulumi.Input[int]]=None, port_name: Optional[pulumi.Input[str]]=None, request: Optional[pulumi.Input[str]]=None, response: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[int] port: The UDP port number for the health check request. Valid values are 1 throug...
@property @pulumi.getter def port(self) -> Optional[pulumi.Input[int]]: '\n The UDP port number for the health check request. Valid values are 1 through 65535.\n ' return pulumi.get(self, 'port')
8,365,717,310,922,665,000
The UDP port number for the health check request. Valid values are 1 through 65535.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
port
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def port(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'port')
@property @pulumi.getter(name='portName') def port_name(self) -> Optional[pulumi.Input[str]]: '\n Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.\n ' return pulumi.get(self, 'port_name')
-819,122,187,026,193,200
Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
port_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='portName') def port_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'port_name')
@property @pulumi.getter def request(self) -> Optional[pulumi.Input[str]]: '\n Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.\n ' return pulumi.get(self, 'request')
170,829,655,958,216,960
Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
request
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def request(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'request')
@property @pulumi.getter def response(self) -> Optional[pulumi.Input[str]]: '\n The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.\n ' return pulumi.get(self, 'response')
5,921,273,008,031,124,000
The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
response
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def response(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'response')
def __init__(__self__, *, name: Optional[pulumi.Input[str]]=None, value: Optional[pulumi.Input[str]]=None): '\n HTTP headers used in UrlMapTests.\n :param pulumi.Input[str] name: Header name.\n :param pulumi.Input[str] value: Header value.\n ' if (name is not None): pulumi.se...
1,668,935,225,436,302,800
HTTP headers used in UrlMapTests. :param pulumi.Input[str] name: Header name. :param pulumi.Input[str] value: Header value.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, name: Optional[pulumi.Input[str]]=None, value: Optional[pulumi.Input[str]]=None): '\n HTTP headers used in UrlMapTests.\n :param pulumi.Input[str] name: Header name.\n :param pulumi.Input[str] value: Header value.\n ' if (name is not None): pulumi.se...
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n Header name.\n ' return pulumi.get(self, 'name')
-3,482,751,739,376,258,600
Header name.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'name')
@property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: '\n Header value.\n ' return pulumi.get(self, 'value')
2,243,411,681,153,434,600
Header value.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
value
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'value')
def __init__(__self__, *, backend_service_weight: Optional[pulumi.Input[int]]=None, description: Optional[pulumi.Input[str]]=None, expected_output_url: Optional[pulumi.Input[str]]=None, expected_redirect_response_code: Optional[pulumi.Input[int]]=None, headers: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMapTestHea...
-1,710,594,120,739,005,200
Message for the expected URL mappings. :param pulumi.Input[int] backend_service_weight: The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting. :param pulumi.Input[str] description: Description of this test case. :param pulumi.Input[str] expected_output_url: Th...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, backend_service_weight: Optional[pulumi.Input[int]]=None, description: Optional[pulumi.Input[str]]=None, expected_output_url: Optional[pulumi.Input[str]]=None, expected_redirect_response_code: Optional[pulumi.Input[int]]=None, headers: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMapTestHea...
@property @pulumi.getter(name='backendServiceWeight') def backend_service_weight(self) -> Optional[pulumi.Input[int]]: '\n The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.\n ' return pulumi.get(self, 'backend_service_weight')
58,887,721,477,632,410
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
backend_service_weight
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='backendServiceWeight') def backend_service_weight(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'backend_service_weight')
@property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: '\n Description of this test case.\n ' return pulumi.get(self, 'description')
596,417,950,144,403,800
Description of this test case.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
description
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'description')
@property @pulumi.getter(name='expectedOutputUrl') def expected_output_url(self) -> Optional[pulumi.Input[str]]: "\n The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOu...
-7,148,053,708,913,335,000
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the fo...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
expected_output_url
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='expectedOutputUrl') def expected_output_url(self) -> Optional[pulumi.Input[str]]: "\n \n " return pulumi.get(self, 'expected_output_url')
@property @pulumi.getter(name='expectedRedirectResponseCode') def expected_redirect_response_code(self) -> Optional[pulumi.Input[int]]: "\n For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectRespo...
-3,337,382,090,825,086,500
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
expected_redirect_response_code
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='expectedRedirectResponseCode') def expected_redirect_response_code(self) -> Optional[pulumi.Input[int]]: "\n \n " return pulumi.get(self, 'expected_redirect_response_code')
@property @pulumi.getter def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlMapTestHeaderArgs']]]]: '\n HTTP headers for this request. If headers contains a host header, then host must also match the header value.\n ' return pulumi.get(self, 'headers')
7,370,935,253,425,043,000
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
headers
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlMapTestHeaderArgs']]]]: '\n \n ' return pulumi.get(self, 'headers')
@property @pulumi.getter def host(self) -> Optional[pulumi.Input[str]]: '\n Host portion of the URL. If headers contains a host header, then host must also match the header value.\n ' return pulumi.get(self, 'host')
6,146,211,630,842,489,000
Host portion of the URL. If headers contains a host header, then host must also match the header value.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
host
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def host(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'host')
@property @pulumi.getter def path(self) -> Optional[pulumi.Input[str]]: '\n Path portion of the URL.\n ' return pulumi.get(self, 'path')
-8,542,978,494,951,973,000
Path portion of the URL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
path
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def path(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'path')
@property @pulumi.getter def service(self) -> Optional[pulumi.Input[str]]: '\n Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.\n ' return pulumi.get(self, 'service')
6,970,944,799,254,137,000
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
service
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def service(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'service')
def __init__(__self__, *, host_rewrite: Optional[pulumi.Input[str]]=None, path_prefix_rewrite: Optional[pulumi.Input[str]]=None): "\n The spec for modifying the path before sending the request to the matched backend service.\n :param pulumi.Input[str] host_rewrite: Before forwarding the request to the...
289,761,260,636,250,100
The spec for modifying the path before sending the request to the matched backend service. :param pulumi.Input[str] host_rewrite: Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. :param pulumi.Input[str...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, host_rewrite: Optional[pulumi.Input[str]]=None, path_prefix_rewrite: Optional[pulumi.Input[str]]=None): "\n The spec for modifying the path before sending the request to the matched backend service.\n :param pulumi.Input[str] host_rewrite: Before forwarding the request to the...
@property @pulumi.getter(name='hostRewrite') def host_rewrite(self) -> Optional[pulumi.Input[str]]: "\n Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.\n " return pulumi.get(self,...
-6,058,966,731,001,618,000
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
host_rewrite
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='hostRewrite') def host_rewrite(self) -> Optional[pulumi.Input[str]]: "\n \n " return pulumi.get(self, 'host_rewrite')
@property @pulumi.getter(name='pathPrefixRewrite') def path_prefix_rewrite(self) -> Optional[pulumi.Input[str]]: "\n Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.\n ...
-1,680,474,235,691,197,400
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
path_prefix_rewrite
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='pathPrefixRewrite') def path_prefix_rewrite(self) -> Optional[pulumi.Input[str]]: "\n \n " return pulumi.get(self, 'path_prefix_rewrite')
def __init__(__self__, *, interconnect_attachment: Optional[pulumi.Input[str]]=None): '\n A VPN gateway interface.\n :param pulumi.Input[str] interconnect_attachment: URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, t...
1,422,399,840,942,517,000
A VPN gateway interface. :param pulumi.Input[str] interconnect_attachment: URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for this VPN gate...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, interconnect_attachment: Optional[pulumi.Input[str]]=None): '\n A VPN gateway interface.\n :param pulumi.Input[str] interconnect_attachment: URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, t...
@property @pulumi.getter(name='interconnectAttachment') def interconnect_attachment(self) -> Optional[pulumi.Input[str]]: '\n URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for IPsec-encrypted Cloud...
-8,731,234,428,422,729,000
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. Not curr...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
interconnect_attachment
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='interconnectAttachment') def interconnect_attachment(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'interconnect_attachment')
def __init__(__self__, *, backend_service: Optional[pulumi.Input[str]]=None, header_action: Optional[pulumi.Input['HttpHeaderActionArgs']]=None, weight: Optional[pulumi.Input[int]]=None): "\n In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBacke...
-2,786,885,324,409,956,000
In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService :param pulumi....
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, backend_service: Optional[pulumi.Input[str]]=None, header_action: Optional[pulumi.Input['HttpHeaderActionArgs']]=None, weight: Optional[pulumi.Input[int]]=None): "\n In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBacke...
@property @pulumi.getter(name='backendService') def backend_service(self) -> Optional[pulumi.Input[str]]: '\n The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backend...
-2,557,570,961,016,948,700
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
backend_service
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='backendService') def backend_service(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'backend_service')
@property @pulumi.getter(name='headerAction') def header_action(self) -> Optional[pulumi.Input['HttpHeaderActionArgs']]: '\n Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing...
-5,170,887,591,742,826,000
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTE...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
header_action
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='headerAction') def header_action(self) -> Optional[pulumi.Input['HttpHeaderActionArgs']]: '\n \n ' return pulumi.get(self, 'header_action')
@property @pulumi.getter def weight(self) -> Optional[pulumi.Input[int]]: "\n Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's req...
-3,078,050,152,787,782,000
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same bac...
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
weight
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def weight(self) -> Optional[pulumi.Input[int]]: "\n \n " return pulumi.get(self, 'weight')
def test_count_qubits(): 'Test count_qubits' qubit_op = QubitOperator('X1 Y2') assert (count_qubits(qubit_op) == 3) fer_op = FermionOperator('1^') assert (count_qubits(fer_op) == 2) qubit_exc_op = QubitExcitationOperator('4^ 1') assert (count_qubits(qubit_exc_op) == 5)
-587,314,219,200,035,700
Test count_qubits
tests/st/test_core/test_operators/test_operators_utils.py
test_count_qubits
Takishima/mindquantum
python
def test_count_qubits(): qubit_op = QubitOperator('X1 Y2') assert (count_qubits(qubit_op) == 3) fer_op = FermionOperator('1^') assert (count_qubits(fer_op) == 2) qubit_exc_op = QubitExcitationOperator('4^ 1') assert (count_qubits(qubit_exc_op) == 5)
def test_normal_ordered(): 'Test normal_ordered function' op = FermionOperator('3 4^') assert (str(normal_ordered(op)) == '-1 [4^ 3] ')
-3,652,750,601,603,591,700
Test normal_ordered function
tests/st/test_core/test_operators/test_operators_utils.py
test_normal_ordered
Takishima/mindquantum
python
def test_normal_ordered(): op = FermionOperator('3 4^') assert (str(normal_ordered(op)) == '-1 [4^ 3] ')
def test_commutator(): 'Test commutator' qub_op1 = QubitOperator('X1 Y2') qub_op2 = QubitOperator('X1 Z2') qub_op3 = (2j * QubitOperator('X2')) assert (commutator(qub_op1, qub_op2) == qub_op3) assert (commutator(qub_op1, qub_op1) == QubitOperator()) qubit_exc_op1 = QubitExcitationOperator(((...
7,898,072,455,736,951,000
Test commutator
tests/st/test_core/test_operators/test_operators_utils.py
test_commutator
Takishima/mindquantum
python
def test_commutator(): qub_op1 = QubitOperator('X1 Y2') qub_op2 = QubitOperator('X1 Z2') qub_op3 = (2j * QubitOperator('X2')) assert (commutator(qub_op1, qub_op2) == qub_op3) assert (commutator(qub_op1, qub_op1) == QubitOperator()) qubit_exc_op1 = QubitExcitationOperator(((4, 1), (1, 0)), 2...
def test_number_operator(): 'Test number operator' nmode = 3 check_str = '1 [0^ 0] +\n1 [1^ 1] +\n1 [2^ 2] ' assert (str(number_operator(nmode)) == check_str) check_str2 = '1 [3^ 3] ' assert (str(number_operator(None, nmode)) == check_str2)
3,789,957,992,526,919,700
Test number operator
tests/st/test_core/test_operators/test_operators_utils.py
test_number_operator
Takishima/mindquantum
python
def test_number_operator(): nmode = 3 check_str = '1 [0^ 0] +\n1 [1^ 1] +\n1 [2^ 2] ' assert (str(number_operator(nmode)) == check_str) check_str2 = '1 [3^ 3] ' assert (str(number_operator(None, nmode)) == check_str2)
def test_up_index(): 'This is for labelling the spin-orbital index with spin alpha' alpha = 2 assert (up_index(alpha) == 4)
6,486,380,420,052,240,000
This is for labelling the spin-orbital index with spin alpha
tests/st/test_core/test_operators/test_operators_utils.py
test_up_index
Takishima/mindquantum
python
def test_up_index(): alpha = 2 assert (up_index(alpha) == 4)
def test_down_index(): 'This is for labelling the spin-orbital index with spin beta' beta = 1 assert (down_index(beta) == 3)
1,414,939,593,055,874,000
This is for labelling the spin-orbital index with spin beta
tests/st/test_core/test_operators/test_operators_utils.py
test_down_index
Takishima/mindquantum
python
def test_down_index(): beta = 1 assert (down_index(beta) == 3)
def test_hermitian_conjugated(): 'Test hermitian_conjugated for the QubitOperator and Fermion Operator' qub_op1 = (((- 1j) * QubitOperator('X1 Y2')) + QubitOperator('X1')) qub_op2 = ((1j * QubitOperator('X1 Y2')) + QubitOperator('X1')) assert (hermitian_conjugated(qub_op1) == qub_op2) fer_op1 = Ferm...
-6,181,645,153,206,038,000
Test hermitian_conjugated for the QubitOperator and Fermion Operator
tests/st/test_core/test_operators/test_operators_utils.py
test_hermitian_conjugated
Takishima/mindquantum
python
def test_hermitian_conjugated(): qub_op1 = (((- 1j) * QubitOperator('X1 Y2')) + QubitOperator('X1')) qub_op2 = ((1j * QubitOperator('X1 Y2')) + QubitOperator('X1')) assert (hermitian_conjugated(qub_op1) == qub_op2) fer_op1 = FermionOperator('1^ 2') fer_op2 = FermionOperator('2^ 1') assert (...
@cli.clizefy @cli.with_output def process(snow: cli.inputcube, rain: cli.inputcube): 'Calculate sleet probability.\n\n Calculates the sleet probability using the\n calculate_sleet_probability plugin.\n\n Args:\n snow (iris.cube.Cube):\n An iris Cube of the probability of snow.\n ra...
-5,786,242,122,211,737,000
Calculate sleet probability. Calculates the sleet probability using the calculate_sleet_probability plugin. Args: snow (iris.cube.Cube): An iris Cube of the probability of snow. rain (iris.cube.Cube): An iris Cube of the probability of rain. Returns: iris.cube.Cube: Returns a cube...
improver/cli/sleet_probability.py
process
BelligerG/improver
python
@cli.clizefy @cli.with_output def process(snow: cli.inputcube, rain: cli.inputcube): 'Calculate sleet probability.\n\n Calculates the sleet probability using the\n calculate_sleet_probability plugin.\n\n Args:\n snow (iris.cube.Cube):\n An iris Cube of the probability of snow.\n ra...
@property def balance(self) -> 'Quantity': 'The total balance of the wallet available for use.' return self._balance
-3,038,890,229,515,196,000
The total balance of the wallet available for use.
tensortrade/wallets/wallet.py
balance
Kukunin/tensortrade
python
@property def balance(self) -> 'Quantity': return self._balance
@property def locked_balance(self) -> 'Quantity': 'The total balance of the wallet locked in orders.' locked_balance = Quantity(self.instrument, 0) for quantity in self.locked.values(): locked_balance += quantity.size return locked_balance
-8,452,854,206,637,544,000
The total balance of the wallet locked in orders.
tensortrade/wallets/wallet.py
locked_balance
Kukunin/tensortrade
python
@property def locked_balance(self) -> 'Quantity': locked_balance = Quantity(self.instrument, 0) for quantity in self.locked.values(): locked_balance += quantity.size return locked_balance
@property def total_balance(self) -> 'Quantity': 'The total balance of the wallet, both available for use and locked in orders.' total_balance = self._balance for quantity in self.locked.values(): total_balance += quantity.size return total_balance
8,121,678,121,077,703,000
The total balance of the wallet, both available for use and locked in orders.
tensortrade/wallets/wallet.py
total_balance
Kukunin/tensortrade
python
@property def total_balance(self) -> 'Quantity': total_balance = self._balance for quantity in self.locked.values(): total_balance += quantity.size return total_balance
def clear_mesh(): ' clear all meshes in the secene\n\n ' bpy.ops.object.select_all(action='DESELECT') for obj in bpy.data.objects: if (obj.type == 'MESH'): obj.select = True bpy.ops.object.delete() for block in bpy.data.meshes: if (block.users == 0): bpy.da...
-6,743,576,624,997,544,000
clear all meshes in the secene
renderer/render_fmo.py
clear_mesh
12564985/DeFMO
python
def clear_mesh(): ' \n\n ' bpy.ops.object.select_all(action='DESELECT') for obj in bpy.data.objects: if (obj.type == 'MESH'): obj.select = True bpy.ops.object.delete() for block in bpy.data.meshes: if (block.users == 0): bpy.data.meshes.remove(block) fo...
def scene_setting_init(use_gpu): 'initialize blender setting configurations\n\n ' sce = bpy.context.scene.name bpy.data.scenes[sce].render.engine = g_engine_type bpy.data.scenes[sce].cycles.film_transparent = g_use_film_transparent bpy.data.scenes[sce].render.image_settings.color_mode = g_rgb_col...
7,473,694,285,510,906,000
initialize blender setting configurations
renderer/render_fmo.py
scene_setting_init
12564985/DeFMO
python
def scene_setting_init(use_gpu): '\n\n ' sce = bpy.context.scene.name bpy.data.scenes[sce].render.engine = g_engine_type bpy.data.scenes[sce].cycles.film_transparent = g_use_film_transparent bpy.data.scenes[sce].render.image_settings.color_mode = g_rgb_color_mode bpy.data.scenes[sce].render.i...
def render(obj_path, viewpoint, temp_folder): 'render rbg image \n\n render a object rgb image by a given camera viewpoint and\n choose random image as background, only render one image\n at a time.\n\n Args:\n obj_path: a string variable indicate the obj file path\n viewpoint: a vp parame...
2,766,232,128,904,901,600
render rbg image render a object rgb image by a given camera viewpoint and choose random image as background, only render one image at a time. Args: obj_path: a string variable indicate the obj file path viewpoint: a vp parameter(contains azimuth,elevation,tilt angles and distance)
renderer/render_fmo.py
render
12564985/DeFMO
python
def render(obj_path, viewpoint, temp_folder): 'render rbg image \n\n render a object rgb image by a given camera viewpoint and\n choose random image as background, only render one image\n at a time.\n\n Args:\n obj_path: a string variable indicate the obj file path\n viewpoint: a vp parame...
def render_obj(obj_path, path, objid, obj_name, temp_folder): ' render one obj file by a given viewpoint list\n a wrapper function for render()\n\n Args:\n obj_path: a string variable indicate the obj file path\n ' vps_path = random.sample(g_view_point_file, 1)[0] vps = list(load_viewpoint(v...
8,629,749,743,181,032,000
render one obj file by a given viewpoint list a wrapper function for render() Args: obj_path: a string variable indicate the obj file path
renderer/render_fmo.py
render_obj
12564985/DeFMO
python
def render_obj(obj_path, path, objid, obj_name, temp_folder): ' render one obj file by a given viewpoint list\n a wrapper function for render()\n\n Args:\n obj_path: a string variable indicate the obj file path\n ' vps_path = random.sample(g_view_point_file, 1)[0] vps = list(load_viewpoint(v...
def init_all(): 'init everything we need for rendering\n an image\n ' scene_setting_init(g_gpu_render_enable) node_setting_init() cam_obj = bpy.data.objects['Camera'] cam_obj.rotation_mode = g_rotation_mode if g_render_light: bpy.data.objects['Lamp'].data.energy = 50 bpy.op...
-4,992,793,148,464,501,000
init everything we need for rendering an image
renderer/render_fmo.py
init_all
12564985/DeFMO
python
def init_all(): 'init everything we need for rendering\n an image\n ' scene_setting_init(g_gpu_render_enable) node_setting_init() cam_obj = bpy.data.objects['Camera'] cam_obj.rotation_mode = g_rotation_mode if g_render_light: bpy.data.objects['Lamp'].data.energy = 50 bpy.op...
def update(self, msg, state, key_size=0): "\n Use to 'update' the AccessToken Request.\n\n :param msg:\n :param state: Used to map access token response to this request\n :param key_size:\n :return:\n " if (not key_size): key_size = self.key_size key = RSAKe...
3,846,428,510,822,182,000
Use to 'update' the AccessToken Request. :param msg: :param state: Used to map access token response to this request :param key_size: :return:
src/oic/extension/pop.py
update
fsschmitt/pyoidc
python
def update(self, msg, state, key_size=0): "\n Use to 'update' the AccessToken Request.\n\n :param msg:\n :param state: Used to map access token response to this request\n :param key_size:\n :return:\n " if (not key_size): key_size = self.key_size key = RSAKe...
def handle_access_token_response(self, resp): '\n Map access token to a keypair.\n\n :param resp: AccessTokenResponse instance\n ' self.token2key[resp['access_token']] = self.state2key[resp['state']]
6,440,332,247,765,060,000
Map access token to a keypair. :param resp: AccessTokenResponse instance
src/oic/extension/pop.py
handle_access_token_response
fsschmitt/pyoidc
python
def handle_access_token_response(self, resp): '\n Map access token to a keypair.\n\n :param resp: AccessTokenResponse instance\n ' self.token2key[resp['access_token']] = self.state2key[resp['state']]
def store_key(self, access_token, tir): '\n Store key that was returned in response from token introspection.\n\n :param access_token: The token that was introspected\n :param tir: TokenIntrospectionResponse instance\n ' key = load_jwks(json.dumps({'keys': [json.loads(tir['key'])]}))...
8,540,303,392,168,288,000
Store key that was returned in response from token introspection. :param access_token: The token that was introspected :param tir: TokenIntrospectionResponse instance
src/oic/extension/pop.py
store_key
fsschmitt/pyoidc
python
def store_key(self, access_token, tir): '\n Store key that was returned in response from token introspection.\n\n :param access_token: The token that was introspected\n :param tir: TokenIntrospectionResponse instance\n ' key = load_jwks(json.dumps({'keys': [json.loads(tir['key'])]}))...
def backup_pickle(experiment, stats): "'\n Back up handling function.\n\n Arguments:\n experiment -- Experiment object, contains the initial sorn parameters\n stats -- bunch of stats stored during the simulation\n " params = experiment.init_params results_dir = experiment.results_dir file...
-4,198,798,779,686,169,000
' Back up handling function. Arguments: experiment -- Experiment object, contains the initial sorn parameters stats -- bunch of stats stored during the simulation
utils/backup.py
backup_pickle
carolinscholl/SORN
python
def backup_pickle(experiment, stats): "'\n Back up handling function.\n\n Arguments:\n experiment -- Experiment object, contains the initial sorn parameters\n stats -- bunch of stats stored during the simulation\n " params = experiment.init_params results_dir = experiment.results_dir file...
def open_napalm_connection(device): 'Funtion to open napalm connection and return connection object' device = device.copy() platform = device.pop('platform') driver = get_network_driver(platform) conn = driver(**device) conn.open() return conn
2,166,982,942,124,655,000
Funtion to open napalm connection and return connection object
day3/linting/exercise1.py
open_napalm_connection
austind/pyplus-ons
python
def open_napalm_connection(device): device = device.copy() platform = device.pop('platform') driver = get_network_driver(platform) conn = driver(**device) conn.open() return conn
def __init__(self, message): 'init\n ' self.message = message
1,055,070,663,192,575,600
init
pylibpcap/exception.py
__init__
caizhengxin/python-libpcap
python
def ____(self, message): '\n ' self.message = message
def get(self, key): '\n Get a single value from the database\n\n :param key: The name of the value\n :return: The stored value or "null" if not found\n ' if (not (key in self.data)): return 'null' return self.data[key]
-1,080,148,519,125,317,800
Get a single value from the database :param key: The name of the value :return: The stored value or "null" if not found
bot/commandmanager.py
get
lietu/twitch-bot
python
def get(self, key): '\n Get a single value from the database\n\n :param key: The name of the value\n :return: The stored value or "null" if not found\n ' if (not (key in self.data)): return 'null' return self.data[key]
def set(self, key, value): '\n Set a single value to the database\n\n :param key: The name of the value\n :param value: The value to be stored\n :return: None\n ' self.data[key] = value self.bot.update_global_value(self.channel, key, value)
-351,846,261,557,832,200
Set a single value to the database :param key: The name of the value :param value: The value to be stored :return: None
bot/commandmanager.py
set
lietu/twitch-bot
python
def set(self, key, value): '\n Set a single value to the database\n\n :param key: The name of the value\n :param value: The value to be stored\n :return: None\n ' self.data[key] = value self.bot.update_global_value(self.channel, key, value)
def stop_timers(self): '\n Cancel all timers still running\n\n :return:\n ' for timer in self.timers: timer.cancel()
3,701,080,689,287,577,000
Cancel all timers still running :return:
bot/commandmanager.py
stop_timers
lietu/twitch-bot
python
def stop_timers(self): '\n Cancel all timers still running\n\n :return:\n ' for timer in self.timers: timer.cancel()
def add_command(self, args): '\n Handler for the "def" -commands in chat\n\n :param args: All the words after the "def" -command\n :return: The created command, if any, and the minimum required user\n level\n ' (added, command, flags, user_level, code) = self._parse_f...
7,152,550,125,602,683,000
Handler for the "def" -commands in chat :param args: All the words after the "def" -command :return: The created command, if any, and the minimum required user level
bot/commandmanager.py
add_command
lietu/twitch-bot
python
def add_command(self, args): '\n Handler for the "def" -commands in chat\n\n :param args: All the words after the "def" -command\n :return: The created command, if any, and the minimum required user\n level\n ' (added, command, flags, user_level, code) = self._parse_f...
def add_simple_command(self, args): '\n Handler for the "com" -commands in chat\n\n :param args: All the words after the "com" -command\n :return: A bunch of stuff\n ' (added, command, flags, user_level, code) = self._parse_simple_func(args) (channel, command, flags, user_level, ...
1,785,941,059,193,356,500
Handler for the "com" -commands in chat :param args: All the words after the "com" -command :return: A bunch of stuff
bot/commandmanager.py
add_simple_command
lietu/twitch-bot
python
def add_simple_command(self, args): '\n Handler for the "com" -commands in chat\n\n :param args: All the words after the "com" -command\n :return: A bunch of stuff\n ' (added, command, flags, user_level, code) = self._parse_simple_func(args) (channel, command, flags, user_level, ...
def is_valid_command(self, command): '\n Check if the given command is registered\n\n :param command: The name of the command\n :return: True or False\n ' return (command in self.commands)
-8,184,501,889,419,760,000
Check if the given command is registered :param command: The name of the command :return: True or False
bot/commandmanager.py
is_valid_command
lietu/twitch-bot
python
def is_valid_command(self, command): '\n Check if the given command is registered\n\n :param command: The name of the command\n :return: True or False\n ' return (command in self.commands)