body_hash
stringlengths
64
64
body
stringlengths
23
109k
docstring
stringlengths
1
57k
path
stringlengths
4
198
name
stringlengths
1
115
repository_name
stringlengths
7
111
repository_stars
float64
0
191k
lang
stringclasses
1 value
body_without_docstring
stringlengths
14
108k
unified
stringlengths
45
133k
a3aade51c236fd3fa902d3182d5a64e30c54184281532649752d2608e3ca35c4
@property @pulumi.getter(name='originGroup') def origin_group(self) -> 'outputs.ResourceReferenceResponse': '\n A reference to the origin group from where the content will be fetched from when CDN does not have it\n ' return pulumi.get(self, 'origin_group')
A reference to the origin group from where the content will be fetched from when CDN does not have it
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
origin_group
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='originGroup') def origin_group(self) -> 'outputs.ResourceReferenceResponse': '\n \n ' return pulumi.get(self, 'origin_group')
@property @pulumi.getter(name='originGroup') def origin_group(self) -> 'outputs.ResourceReferenceResponse': '\n \n ' return pulumi.get(self, 'origin_group')<|docstring|>A reference to the origin group from where the content will be fetched from when CDN does not have it<|endoftext|>
f8042866305dbe1c0458dfcd06e7fc4090cb347deb2d56411e66bb25fd679fb6
def __init__(__self__, *, name: str, parameters: 'outputs.OriginGroupOverrideActionParametersResponse'): "\n Defines the Origin Group override action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'OriginGroupOverride'.\n :param 'OriginGroupOverrideActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'OriginGroupOverride') pulumi.set(__self__, 'parameters', parameters)
Defines the Origin Group override action for the delivery rule. :param str name: The name of the action for the delivery rule. Expected value is 'OriginGroupOverride'. :param 'OriginGroupOverrideActionParametersResponseArgs' parameters: Defines the parameters for the action.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, name: str, parameters: 'outputs.OriginGroupOverrideActionParametersResponse'): "\n Defines the Origin Group override action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'OriginGroupOverride'.\n :param 'OriginGroupOverrideActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'OriginGroupOverride') pulumi.set(__self__, 'parameters', parameters)
def __init__(__self__, *, name: str, parameters: 'outputs.OriginGroupOverrideActionParametersResponse'): "\n Defines the Origin Group override action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'OriginGroupOverride'.\n :param 'OriginGroupOverrideActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'OriginGroupOverride') pulumi.set(__self__, 'parameters', parameters)<|docstring|>Defines the Origin Group override action for the delivery rule. :param str name: The name of the action for the delivery rule. Expected value is 'OriginGroupOverride'. :param 'OriginGroupOverrideActionParametersResponseArgs' parameters: Defines the parameters for the action.<|endoftext|>
1f2ad9d1ee558f8e698db2ce0af4a234913bc9d02aa7b8654b87fe784459d264
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'OriginGroupOverride'.\n " return pulumi.get(self, 'name')
The name of the action for the delivery rule. Expected value is 'OriginGroupOverride'.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
name
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'OriginGroupOverride'.\n " return pulumi.get(self, 'name')
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'OriginGroupOverride'.\n " return pulumi.get(self, 'name')<|docstring|>The name of the action for the delivery rule. Expected value is 'OriginGroupOverride'.<|endoftext|>
8dae1215c29f17054797c3d557383ae9c83d50a793723bef2b58e4569d7ba72f
@property @pulumi.getter def parameters(self) -> 'outputs.OriginGroupOverrideActionParametersResponse': '\n Defines the parameters for the action.\n ' return pulumi.get(self, 'parameters')
Defines the parameters for the action.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
parameters
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def parameters(self) -> 'outputs.OriginGroupOverrideActionParametersResponse': '\n \n ' return pulumi.get(self, 'parameters')
@property @pulumi.getter def parameters(self) -> 'outputs.OriginGroupOverrideActionParametersResponse': '\n \n ' return pulumi.get(self, 'parameters')<|docstring|>Defines the parameters for the action.<|endoftext|>
f830442d2ff90c80f409484e4b0d5c35cb69420666725bd99d923fdd9b9d45cc
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, selector: Optional[str]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for PostArgs match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param str selector: Name of PostArg to be matched\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (selector is not None): pulumi.set(__self__, 'selector', selector) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for PostArgs match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param str selector: Name of PostArg to be matched :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, selector: Optional[str]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for PostArgs match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param str selector: Name of PostArg to be matched\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (selector is not None): pulumi.set(__self__, 'selector', selector) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, selector: Optional[str]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for PostArgs match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param str selector: Name of PostArg to be matched\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (selector is not None): pulumi.set(__self__, 'selector', selector) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for PostArgs match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param str selector: Name of PostArg to be matched :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
d89e228e2e7f26f550ad08eb4358c7ba34a5192b334e8dfeb759427e5b655644
@property @pulumi.getter def selector(self) -> Optional[str]: '\n Name of PostArg to be matched\n ' return pulumi.get(self, 'selector')
Name of PostArg to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
selector
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def selector(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'selector')
@property @pulumi.getter def selector(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'selector')<|docstring|>Name of PostArg to be matched<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
2066a71ad61cf27f3758f8fce233b297649348d34e907d572c9a20e281e7b73c
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for QueryString match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for QueryString match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for QueryString match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for QueryString match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for QueryString match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
d995ea6703992a3b1237c35343f30dffed5181f460057d57c59d3a92b71b3910
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RemoteAddress match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for RemoteAddress match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RemoteAddress match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RemoteAddress match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for RemoteAddress match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4ee72dd61e2abb23f09cf8b4c0df19b6e7096118402726228b921ce63bf805e8
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.\n ' return pulumi.get(self, 'match_values')
Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
12f906c0159c1f0d20074b637d11898a97fa601977aa123e5934e990504b0045
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestBody match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for RequestBody match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestBody match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestBody match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for RequestBody match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
ca44854dcffac0c056157e5168c79c49524b15f1d388d38285846847913dffd9
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, selector: Optional[str]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestHeader match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param str selector: Name of Header to be matched\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (selector is not None): pulumi.set(__self__, 'selector', selector) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for RequestHeader match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param str selector: Name of Header to be matched :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, selector: Optional[str]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestHeader match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param str selector: Name of Header to be matched\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (selector is not None): pulumi.set(__self__, 'selector', selector) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, selector: Optional[str]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestHeader match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param str selector: Name of Header to be matched\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (selector is not None): pulumi.set(__self__, 'selector', selector) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for RequestHeader match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param str selector: Name of Header to be matched :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
f73050dc40f4caff3509395ee7b4b7fcc97de75ef36da81003c0be50556c264c
@property @pulumi.getter def selector(self) -> Optional[str]: '\n Name of Header to be matched\n ' return pulumi.get(self, 'selector')
Name of Header to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
selector
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def selector(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'selector')
@property @pulumi.getter def selector(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'selector')<|docstring|>Name of Header to be matched<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
e2d3b550ca591e9a8b4cbaf923005223cb2dbbbf3957a15a14a6cf75504db071
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None): '\n Defines the parameters for RequestMethod match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition)
Defines the parameters for RequestMethod match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None): '\n Defines the parameters for RequestMethod match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None): '\n Defines the parameters for RequestMethod match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition)<|docstring|>Defines the parameters for RequestMethod match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
d3cb082595a6a26eb887b74185a134058bf881ec529dad04e41a1625de07ac4d
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None): '\n Defines the parameters for RequestScheme match conditions \n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition)
Defines the parameters for RequestScheme match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None): '\n Defines the parameters for RequestScheme match conditions \n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None): '\n Defines the parameters for RequestScheme match conditions \n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition)<|docstring|>Defines the parameters for RequestScheme match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
a08c1ac02f366cbdd5087395337623acba3c5982833b551e7ca5dbf57088315e
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestUri match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for RequestUri match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestUri match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for RequestUri match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for RequestUri match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
e9d27e16dfb28629a487bf9939029133fe4dda3bd08658a87a791d6e01a6680d
def __init__(__self__, *, id: Optional[str]=None): '\n Reference to another resource.\n :param str id: Resource ID.\n ' if (id is not None): pulumi.set(__self__, 'id', id)
Reference to another resource. :param str id: Resource ID.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, id: Optional[str]=None): '\n Reference to another resource.\n :param str id: Resource ID.\n ' if (id is not None): pulumi.set(__self__, 'id', id)
def __init__(__self__, *, id: Optional[str]=None): '\n Reference to another resource.\n :param str id: Resource ID.\n ' if (id is not None): pulumi.set(__self__, 'id', id)<|docstring|>Reference to another resource. :param str id: Resource ID.<|endoftext|>
a15ac1a8ae5700d6b8ffb0e54eac3235e98c6ed2ba2616e0d33a0e31e3e3b1a3
@property @pulumi.getter def id(self) -> Optional[str]: '\n Resource ID.\n ' return pulumi.get(self, 'id')
Resource ID.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
id
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def id(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'id')
@property @pulumi.getter def id(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'id')<|docstring|>Resource ID.<|endoftext|>
3ffda3c989d32931c215efa2a0b9176633bbaa31146f85279a0c97a7e49af526
def __init__(__self__, *, http_error_ranges: Optional[Sequence['outputs.HttpErrorRangeParametersResponse']]=None, response_based_detected_error_types: Optional[str]=None, response_based_failover_threshold_percentage: Optional[int]=None): "\n The JSON object that contains the properties to determine origin health using real requests/responses.\n :param Sequence['HttpErrorRangeParametersResponseArgs'] http_error_ranges: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.\n :param str response_based_detected_error_types: Type of response errors for real user requests for which origin will be deemed unhealthy\n :param int response_based_failover_threshold_percentage: The percentage of failed requests in the sample where failover should trigger.\n " if (http_error_ranges is not None): pulumi.set(__self__, 'http_error_ranges', http_error_ranges) if (response_based_detected_error_types is not None): pulumi.set(__self__, 'response_based_detected_error_types', response_based_detected_error_types) if (response_based_failover_threshold_percentage is not None): pulumi.set(__self__, 'response_based_failover_threshold_percentage', response_based_failover_threshold_percentage)
The JSON object that contains the properties to determine origin health using real requests/responses. :param Sequence['HttpErrorRangeParametersResponseArgs'] http_error_ranges: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. :param str response_based_detected_error_types: Type of response errors for real user requests for which origin will be deemed unhealthy :param int response_based_failover_threshold_percentage: The percentage of failed requests in the sample where failover should trigger.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, http_error_ranges: Optional[Sequence['outputs.HttpErrorRangeParametersResponse']]=None, response_based_detected_error_types: Optional[str]=None, response_based_failover_threshold_percentage: Optional[int]=None): "\n The JSON object that contains the properties to determine origin health using real requests/responses.\n :param Sequence['HttpErrorRangeParametersResponseArgs'] http_error_ranges: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.\n :param str response_based_detected_error_types: Type of response errors for real user requests for which origin will be deemed unhealthy\n :param int response_based_failover_threshold_percentage: The percentage of failed requests in the sample where failover should trigger.\n " if (http_error_ranges is not None): pulumi.set(__self__, 'http_error_ranges', http_error_ranges) if (response_based_detected_error_types is not None): pulumi.set(__self__, 'response_based_detected_error_types', response_based_detected_error_types) if (response_based_failover_threshold_percentage is not None): pulumi.set(__self__, 'response_based_failover_threshold_percentage', response_based_failover_threshold_percentage)
def __init__(__self__, *, http_error_ranges: Optional[Sequence['outputs.HttpErrorRangeParametersResponse']]=None, response_based_detected_error_types: Optional[str]=None, response_based_failover_threshold_percentage: Optional[int]=None): "\n The JSON object that contains the properties to determine origin health using real requests/responses.\n :param Sequence['HttpErrorRangeParametersResponseArgs'] http_error_ranges: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.\n :param str response_based_detected_error_types: Type of response errors for real user requests for which origin will be deemed unhealthy\n :param int response_based_failover_threshold_percentage: The percentage of failed requests in the sample where failover should trigger.\n " if (http_error_ranges is not None): pulumi.set(__self__, 'http_error_ranges', http_error_ranges) if (response_based_detected_error_types is not None): pulumi.set(__self__, 'response_based_detected_error_types', response_based_detected_error_types) if (response_based_failover_threshold_percentage is not None): pulumi.set(__self__, 'response_based_failover_threshold_percentage', response_based_failover_threshold_percentage)<|docstring|>The JSON object that contains the properties to determine origin health using real requests/responses. :param Sequence['HttpErrorRangeParametersResponseArgs'] http_error_ranges: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. :param str response_based_detected_error_types: Type of response errors for real user requests for which origin will be deemed unhealthy :param int response_based_failover_threshold_percentage: The percentage of failed requests in the sample where failover should trigger.<|endoftext|>
2422fb5a3329ca8d27491c1e82679a349aa0d2623c49f7cf1ee780cc305755b0
@property @pulumi.getter(name='httpErrorRanges') def http_error_ranges(self) -> Optional[Sequence['outputs.HttpErrorRangeParametersResponse']]: '\n The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.\n ' return pulumi.get(self, 'http_error_ranges')
The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
http_error_ranges
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='httpErrorRanges') def http_error_ranges(self) -> Optional[Sequence['outputs.HttpErrorRangeParametersResponse']]: '\n \n ' return pulumi.get(self, 'http_error_ranges')
@property @pulumi.getter(name='httpErrorRanges') def http_error_ranges(self) -> Optional[Sequence['outputs.HttpErrorRangeParametersResponse']]: '\n \n ' return pulumi.get(self, 'http_error_ranges')<|docstring|>The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.<|endoftext|>
652d4d0d870c0741720bcd77cb1511cee43feaae9528f2513028976dcace6d16
@property @pulumi.getter(name='responseBasedDetectedErrorTypes') def response_based_detected_error_types(self) -> Optional[str]: '\n Type of response errors for real user requests for which origin will be deemed unhealthy\n ' return pulumi.get(self, 'response_based_detected_error_types')
Type of response errors for real user requests for which origin will be deemed unhealthy
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
response_based_detected_error_types
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='responseBasedDetectedErrorTypes') def response_based_detected_error_types(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'response_based_detected_error_types')
@property @pulumi.getter(name='responseBasedDetectedErrorTypes') def response_based_detected_error_types(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'response_based_detected_error_types')<|docstring|>Type of response errors for real user requests for which origin will be deemed unhealthy<|endoftext|>
938e723f2692e3916fd0e5b8a0ba8e00be4c6c54070db2548e7df983dab99243
@property @pulumi.getter(name='responseBasedFailoverThresholdPercentage') def response_based_failover_threshold_percentage(self) -> Optional[int]: '\n The percentage of failed requests in the sample where failover should trigger.\n ' return pulumi.get(self, 'response_based_failover_threshold_percentage')
The percentage of failed requests in the sample where failover should trigger.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
response_based_failover_threshold_percentage
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='responseBasedFailoverThresholdPercentage') def response_based_failover_threshold_percentage(self) -> Optional[int]: '\n \n ' return pulumi.get(self, 'response_based_failover_threshold_percentage')
@property @pulumi.getter(name='responseBasedFailoverThresholdPercentage') def response_based_failover_threshold_percentage(self) -> Optional[int]: '\n \n ' return pulumi.get(self, 'response_based_failover_threshold_percentage')<|docstring|>The percentage of failed requests in the sample where failover should trigger.<|endoftext|>
8303ce0ec9313edb78e8bf03988a3996a802b7aa05f3996f7c7ad1833e326790
def __init__(__self__, *, name: Optional[str]=None): '\n The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.\n :param str name: Name of the pricing tier.\n ' if (name is not None): pulumi.set(__self__, 'name', name)
The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. :param str name: Name of the pricing tier.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, name: Optional[str]=None): '\n The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.\n :param str name: Name of the pricing tier.\n ' if (name is not None): pulumi.set(__self__, 'name', name)
def __init__(__self__, *, name: Optional[str]=None): '\n The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.\n :param str name: Name of the pricing tier.\n ' if (name is not None): pulumi.set(__self__, 'name', name)<|docstring|>The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. :param str name: Name of the pricing tier.<|endoftext|>
2bb5f08be353203229a1767346b04ebba6387e5eaf16844339ae5005c07df06d
@property @pulumi.getter def name(self) -> Optional[str]: '\n Name of the pricing tier.\n ' return pulumi.get(self, 'name')
Name of the pricing tier.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
name
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def name(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'name')
@property @pulumi.getter def name(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'name')<|docstring|>Name of the pricing tier.<|endoftext|>
0abaffa5740dd3b28b958126fe59fe0dd63f24820f7f8cf898644f6e7ef47845
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlFileExtension match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for UrlFileExtension match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlFileExtension match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlFileExtension match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for UrlFileExtension match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
8c988387bcc8e5cbd5584ad134c5aaf6c8a8bc68fcf28fd5f78abb40796a4c8e
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlFilename match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for UrlFilename match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlFilename match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlFilename match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for UrlFilename match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
ca6456032c04513117801e4b391d407c9c726296bd353f19c5c2bc8193d020ae
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlPath match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
Defines the parameters for UrlPath match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlPath match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)
def __init__(__self__, *, odata_type: str, operator: str, match_values: Optional[Sequence[str]]=None, negate_condition: Optional[bool]=None, transforms: Optional[Sequence[str]]=None): '\n Defines the parameters for UrlPath match conditions\n :param str operator: Describes operator to be matched\n :param Sequence[str] match_values: The match value for the condition of the delivery rule\n :param bool negate_condition: Describes if this is negate condition or not\n :param Sequence[str] transforms: List of transforms\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'operator', operator) if (match_values is not None): pulumi.set(__self__, 'match_values', match_values) if (negate_condition is not None): pulumi.set(__self__, 'negate_condition', negate_condition) if (transforms is not None): pulumi.set(__self__, 'transforms', transforms)<|docstring|>Defines the parameters for UrlPath match conditions :param str operator: Describes operator to be matched :param Sequence[str] match_values: The match value for the condition of the delivery rule :param bool negate_condition: Describes if this is negate condition or not :param Sequence[str] transforms: List of transforms<|endoftext|>
03b4694364f389b4c4a22b6baf22b56dde383de57c1cf997536aa34e452bd570
@property @pulumi.getter def operator(self) -> str: '\n Describes operator to be matched\n ' return pulumi.get(self, 'operator')
Describes operator to be matched
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
operator
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')
@property @pulumi.getter def operator(self) -> str: '\n \n ' return pulumi.get(self, 'operator')<|docstring|>Describes operator to be matched<|endoftext|>
4a89b4d87551a581a0fba673cb73749627a97982f3b1609a08f38cca7e88078c
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n The match value for the condition of the delivery rule\n ' return pulumi.get(self, 'match_values')
The match value for the condition of the delivery rule
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
match_values
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')
@property @pulumi.getter(name='matchValues') def match_values(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'match_values')<|docstring|>The match value for the condition of the delivery rule<|endoftext|>
721cadbb8fd9b3ca322eb4a51a0590628318061974e642eb27d1fc8770c15e24
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n Describes if this is negate condition or not\n ' return pulumi.get(self, 'negate_condition')
Describes if this is negate condition or not
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
negate_condition
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')
@property @pulumi.getter(name='negateCondition') def negate_condition(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'negate_condition')<|docstring|>Describes if this is negate condition or not<|endoftext|>
60802afed0a11a40b1580427551db5c17905ecbff5094d60eea135f145a9ab82
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n List of transforms\n ' return pulumi.get(self, 'transforms')
List of transforms
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
transforms
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')
@property @pulumi.getter def transforms(self) -> Optional[Sequence[str]]: '\n \n ' return pulumi.get(self, 'transforms')<|docstring|>List of transforms<|endoftext|>
746ba26570e9def42d964df2d8915e40ebf37cd8944b8fdeabc63a91a66d7391
def __init__(__self__, *, odata_type: str, redirect_type: str, custom_fragment: Optional[str]=None, custom_hostname: Optional[str]=None, custom_path: Optional[str]=None, custom_query_string: Optional[str]=None, destination_protocol: Optional[str]=None): '\n Defines the parameters for the url redirect action.\n :param str redirect_type: The redirect type the rule will use when redirecting traffic.\n :param str custom_fragment: Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.\n :param str custom_hostname: Host to redirect. Leave empty to use the incoming host as the destination host.\n :param str custom_path: The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.\n :param str custom_query_string: The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them.\n :param str destination_protocol: Protocol to use for the redirect. The default value is MatchRequest\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'redirect_type', redirect_type) if (custom_fragment is not None): pulumi.set(__self__, 'custom_fragment', custom_fragment) if (custom_hostname is not None): pulumi.set(__self__, 'custom_hostname', custom_hostname) if (custom_path is not None): pulumi.set(__self__, 'custom_path', custom_path) if (custom_query_string is not None): pulumi.set(__self__, 'custom_query_string', custom_query_string) if (destination_protocol is not None): pulumi.set(__self__, 'destination_protocol', destination_protocol)
Defines the parameters for the url redirect action. :param str redirect_type: The redirect type the rule will use when redirecting traffic. :param str custom_fragment: Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. :param str custom_hostname: Host to redirect. Leave empty to use the incoming host as the destination host. :param str custom_path: The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. :param str custom_query_string: The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them. :param str destination_protocol: Protocol to use for the redirect. The default value is MatchRequest
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, odata_type: str, redirect_type: str, custom_fragment: Optional[str]=None, custom_hostname: Optional[str]=None, custom_path: Optional[str]=None, custom_query_string: Optional[str]=None, destination_protocol: Optional[str]=None): '\n Defines the parameters for the url redirect action.\n :param str redirect_type: The redirect type the rule will use when redirecting traffic.\n :param str custom_fragment: Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.\n :param str custom_hostname: Host to redirect. Leave empty to use the incoming host as the destination host.\n :param str custom_path: The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.\n :param str custom_query_string: The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them.\n :param str destination_protocol: Protocol to use for the redirect. The default value is MatchRequest\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'redirect_type', redirect_type) if (custom_fragment is not None): pulumi.set(__self__, 'custom_fragment', custom_fragment) if (custom_hostname is not None): pulumi.set(__self__, 'custom_hostname', custom_hostname) if (custom_path is not None): pulumi.set(__self__, 'custom_path', custom_path) if (custom_query_string is not None): pulumi.set(__self__, 'custom_query_string', custom_query_string) if (destination_protocol is not None): pulumi.set(__self__, 'destination_protocol', destination_protocol)
def __init__(__self__, *, odata_type: str, redirect_type: str, custom_fragment: Optional[str]=None, custom_hostname: Optional[str]=None, custom_path: Optional[str]=None, custom_query_string: Optional[str]=None, destination_protocol: Optional[str]=None): '\n Defines the parameters for the url redirect action.\n :param str redirect_type: The redirect type the rule will use when redirecting traffic.\n :param str custom_fragment: Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.\n :param str custom_hostname: Host to redirect. Leave empty to use the incoming host as the destination host.\n :param str custom_path: The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.\n :param str custom_query_string: The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them.\n :param str destination_protocol: Protocol to use for the redirect. The default value is MatchRequest\n ' pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'redirect_type', redirect_type) if (custom_fragment is not None): pulumi.set(__self__, 'custom_fragment', custom_fragment) if (custom_hostname is not None): pulumi.set(__self__, 'custom_hostname', custom_hostname) if (custom_path is not None): pulumi.set(__self__, 'custom_path', custom_path) if (custom_query_string is not None): pulumi.set(__self__, 'custom_query_string', custom_query_string) if (destination_protocol is not None): pulumi.set(__self__, 'destination_protocol', destination_protocol)<|docstring|>Defines the parameters for the url redirect action. :param str redirect_type: The redirect type the rule will use when redirecting traffic. :param str custom_fragment: Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. :param str custom_hostname: Host to redirect. Leave empty to use the incoming host as the destination host. :param str custom_path: The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. :param str custom_query_string: The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them. :param str destination_protocol: Protocol to use for the redirect. The default value is MatchRequest<|endoftext|>
1490e9d8c1042f2dba4e7cb3a82f514ba899933be24fb9b519019d2bc763ba21
@property @pulumi.getter(name='redirectType') def redirect_type(self) -> str: '\n The redirect type the rule will use when redirecting traffic.\n ' return pulumi.get(self, 'redirect_type')
The redirect type the rule will use when redirecting traffic.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
redirect_type
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='redirectType') def redirect_type(self) -> str: '\n \n ' return pulumi.get(self, 'redirect_type')
@property @pulumi.getter(name='redirectType') def redirect_type(self) -> str: '\n \n ' return pulumi.get(self, 'redirect_type')<|docstring|>The redirect type the rule will use when redirecting traffic.<|endoftext|>
9001c1cb8762e986695f89ed35755f59376009824c24c8945295d7c57d501326
@property @pulumi.getter(name='customFragment') def custom_fragment(self) -> Optional[str]: '\n Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.\n ' return pulumi.get(self, 'custom_fragment')
Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
custom_fragment
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='customFragment') def custom_fragment(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_fragment')
@property @pulumi.getter(name='customFragment') def custom_fragment(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_fragment')<|docstring|>Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.<|endoftext|>
ec805c472fd2dbef7924a472ec4e5d55c27aadb0d96390f5f8c23cb46aa7656a
@property @pulumi.getter(name='customHostname') def custom_hostname(self) -> Optional[str]: '\n Host to redirect. Leave empty to use the incoming host as the destination host.\n ' return pulumi.get(self, 'custom_hostname')
Host to redirect. Leave empty to use the incoming host as the destination host.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
custom_hostname
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='customHostname') def custom_hostname(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_hostname')
@property @pulumi.getter(name='customHostname') def custom_hostname(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_hostname')<|docstring|>Host to redirect. Leave empty to use the incoming host as the destination host.<|endoftext|>
f672343e6851daa43a6d2323d6a3d3f83d5bb8596b9be6ce3f64b04e4dfbc7d4
@property @pulumi.getter(name='customPath') def custom_path(self) -> Optional[str]: '\n The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.\n ' return pulumi.get(self, 'custom_path')
The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
custom_path
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='customPath') def custom_path(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_path')
@property @pulumi.getter(name='customPath') def custom_path(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_path')<|docstring|>The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.<|endoftext|>
5591ce3249b94b4dfb7219d84b0418de0f40c3d8dd143440b6348d4879a26526
@property @pulumi.getter(name='customQueryString') def custom_query_string(self) -> Optional[str]: '\n The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them.\n ' return pulumi.get(self, 'custom_query_string')
The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
custom_query_string
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='customQueryString') def custom_query_string(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_query_string')
@property @pulumi.getter(name='customQueryString') def custom_query_string(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'custom_query_string')<|docstring|>The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them.<|endoftext|>
07b6881f1d68c9d0efb6b33ab1658d6dc463fbb6ed1878345ea467f8091bd035
@property @pulumi.getter(name='destinationProtocol') def destination_protocol(self) -> Optional[str]: '\n Protocol to use for the redirect. The default value is MatchRequest\n ' return pulumi.get(self, 'destination_protocol')
Protocol to use for the redirect. The default value is MatchRequest
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
destination_protocol
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='destinationProtocol') def destination_protocol(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'destination_protocol')
@property @pulumi.getter(name='destinationProtocol') def destination_protocol(self) -> Optional[str]: '\n \n ' return pulumi.get(self, 'destination_protocol')<|docstring|>Protocol to use for the redirect. The default value is MatchRequest<|endoftext|>
ff420fec73ffec2b88f6003f34a1cc5927e313a2dad4577de038cadbe06a029d
def __init__(__self__, *, name: str, parameters: 'outputs.UrlRedirectActionParametersResponse'): "\n Defines the url redirect action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'UrlRedirect'.\n :param 'UrlRedirectActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'UrlRedirect') pulumi.set(__self__, 'parameters', parameters)
Defines the url redirect action for the delivery rule. :param str name: The name of the action for the delivery rule. Expected value is 'UrlRedirect'. :param 'UrlRedirectActionParametersResponseArgs' parameters: Defines the parameters for the action.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, name: str, parameters: 'outputs.UrlRedirectActionParametersResponse'): "\n Defines the url redirect action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'UrlRedirect'.\n :param 'UrlRedirectActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'UrlRedirect') pulumi.set(__self__, 'parameters', parameters)
def __init__(__self__, *, name: str, parameters: 'outputs.UrlRedirectActionParametersResponse'): "\n Defines the url redirect action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'UrlRedirect'.\n :param 'UrlRedirectActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'UrlRedirect') pulumi.set(__self__, 'parameters', parameters)<|docstring|>Defines the url redirect action for the delivery rule. :param str name: The name of the action for the delivery rule. Expected value is 'UrlRedirect'. :param 'UrlRedirectActionParametersResponseArgs' parameters: Defines the parameters for the action.<|endoftext|>
33bb883354a2dcf364275e8a7537a365d460390a17a1fb5a773abb1cd2dd81bc
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'UrlRedirect'.\n " return pulumi.get(self, 'name')
The name of the action for the delivery rule. Expected value is 'UrlRedirect'.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
name
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'UrlRedirect'.\n " return pulumi.get(self, 'name')
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'UrlRedirect'.\n " return pulumi.get(self, 'name')<|docstring|>The name of the action for the delivery rule. Expected value is 'UrlRedirect'.<|endoftext|>
a3b7b570e5deeb8ef9aa2c71ddc0821b21533ea38472ee56cd6c57a3ab62022e
@property @pulumi.getter def parameters(self) -> 'outputs.UrlRedirectActionParametersResponse': '\n Defines the parameters for the action.\n ' return pulumi.get(self, 'parameters')
Defines the parameters for the action.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
parameters
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def parameters(self) -> 'outputs.UrlRedirectActionParametersResponse': '\n \n ' return pulumi.get(self, 'parameters')
@property @pulumi.getter def parameters(self) -> 'outputs.UrlRedirectActionParametersResponse': '\n \n ' return pulumi.get(self, 'parameters')<|docstring|>Defines the parameters for the action.<|endoftext|>
c3be54a96d61af08058c87ddefb10495bc0326b1f427591532e1f6b81f4af065
def __init__(__self__, *, destination: str, odata_type: str, source_pattern: str, preserve_unmatched_path: Optional[bool]=None): '\n Defines the parameters for the url rewrite action.\n :param str destination: Define the relative URL to which the above requests will be rewritten by.\n :param str source_pattern: define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.\n :param bool preserve_unmatched_path: Whether to preserve unmatched path. Default value is true.\n ' pulumi.set(__self__, 'destination', destination) pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'source_pattern', source_pattern) if (preserve_unmatched_path is not None): pulumi.set(__self__, 'preserve_unmatched_path', preserve_unmatched_path)
Defines the parameters for the url rewrite action. :param str destination: Define the relative URL to which the above requests will be rewritten by. :param str source_pattern: define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. :param bool preserve_unmatched_path: Whether to preserve unmatched path. Default value is true.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, destination: str, odata_type: str, source_pattern: str, preserve_unmatched_path: Optional[bool]=None): '\n Defines the parameters for the url rewrite action.\n :param str destination: Define the relative URL to which the above requests will be rewritten by.\n :param str source_pattern: define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.\n :param bool preserve_unmatched_path: Whether to preserve unmatched path. Default value is true.\n ' pulumi.set(__self__, 'destination', destination) pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'source_pattern', source_pattern) if (preserve_unmatched_path is not None): pulumi.set(__self__, 'preserve_unmatched_path', preserve_unmatched_path)
def __init__(__self__, *, destination: str, odata_type: str, source_pattern: str, preserve_unmatched_path: Optional[bool]=None): '\n Defines the parameters for the url rewrite action.\n :param str destination: Define the relative URL to which the above requests will be rewritten by.\n :param str source_pattern: define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.\n :param bool preserve_unmatched_path: Whether to preserve unmatched path. Default value is true.\n ' pulumi.set(__self__, 'destination', destination) pulumi.set(__self__, 'odata_type', odata_type) pulumi.set(__self__, 'source_pattern', source_pattern) if (preserve_unmatched_path is not None): pulumi.set(__self__, 'preserve_unmatched_path', preserve_unmatched_path)<|docstring|>Defines the parameters for the url rewrite action. :param str destination: Define the relative URL to which the above requests will be rewritten by. :param str source_pattern: define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. :param bool preserve_unmatched_path: Whether to preserve unmatched path. Default value is true.<|endoftext|>
70df59840955c0b418451531233a2fff4e40e6574fff8fea3e43ace8756f2e7d
@property @pulumi.getter def destination(self) -> str: '\n Define the relative URL to which the above requests will be rewritten by.\n ' return pulumi.get(self, 'destination')
Define the relative URL to which the above requests will be rewritten by.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
destination
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def destination(self) -> str: '\n \n ' return pulumi.get(self, 'destination')
@property @pulumi.getter def destination(self) -> str: '\n \n ' return pulumi.get(self, 'destination')<|docstring|>Define the relative URL to which the above requests will be rewritten by.<|endoftext|>
b6bccd4658f2371ad51a29e7568619ed5a56d777d7948db5269c95e444cb546d
@property @pulumi.getter(name='sourcePattern') def source_pattern(self) -> str: '\n define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.\n ' return pulumi.get(self, 'source_pattern')
define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
source_pattern
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='sourcePattern') def source_pattern(self) -> str: '\n \n ' return pulumi.get(self, 'source_pattern')
@property @pulumi.getter(name='sourcePattern') def source_pattern(self) -> str: '\n \n ' return pulumi.get(self, 'source_pattern')<|docstring|>define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.<|endoftext|>
3e53a3f8a13e3aa20f4f4e87c8282da16058055f6cef816cdb0bd11745e69c7f
@property @pulumi.getter(name='preserveUnmatchedPath') def preserve_unmatched_path(self) -> Optional[bool]: '\n Whether to preserve unmatched path. Default value is true.\n ' return pulumi.get(self, 'preserve_unmatched_path')
Whether to preserve unmatched path. Default value is true.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
preserve_unmatched_path
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter(name='preserveUnmatchedPath') def preserve_unmatched_path(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'preserve_unmatched_path')
@property @pulumi.getter(name='preserveUnmatchedPath') def preserve_unmatched_path(self) -> Optional[bool]: '\n \n ' return pulumi.get(self, 'preserve_unmatched_path')<|docstring|>Whether to preserve unmatched path. Default value is true.<|endoftext|>
f4303f827e13aca550c28757688c1f57a6211ad5347ec8b2a57d0c05722ddb42
def __init__(__self__, *, name: str, parameters: 'outputs.UrlRewriteActionParametersResponse'): "\n Defines the url rewrite action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'UrlRewrite'.\n :param 'UrlRewriteActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'UrlRewrite') pulumi.set(__self__, 'parameters', parameters)
Defines the url rewrite action for the delivery rule. :param str name: The name of the action for the delivery rule. Expected value is 'UrlRewrite'. :param 'UrlRewriteActionParametersResponseArgs' parameters: Defines the parameters for the action.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
__init__
pulumi-bot/pulumi-azure-native
31
python
def __init__(__self__, *, name: str, parameters: 'outputs.UrlRewriteActionParametersResponse'): "\n Defines the url rewrite action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'UrlRewrite'.\n :param 'UrlRewriteActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'UrlRewrite') pulumi.set(__self__, 'parameters', parameters)
def __init__(__self__, *, name: str, parameters: 'outputs.UrlRewriteActionParametersResponse'): "\n Defines the url rewrite action for the delivery rule.\n :param str name: The name of the action for the delivery rule.\n Expected value is 'UrlRewrite'.\n :param 'UrlRewriteActionParametersResponseArgs' parameters: Defines the parameters for the action.\n " pulumi.set(__self__, 'name', 'UrlRewrite') pulumi.set(__self__, 'parameters', parameters)<|docstring|>Defines the url rewrite action for the delivery rule. :param str name: The name of the action for the delivery rule. Expected value is 'UrlRewrite'. :param 'UrlRewriteActionParametersResponseArgs' parameters: Defines the parameters for the action.<|endoftext|>
c979b3b7e1eab520a4edd9782d65988ced535fcf37d4f2723044638ddb64866c
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'UrlRewrite'.\n " return pulumi.get(self, 'name')
The name of the action for the delivery rule. Expected value is 'UrlRewrite'.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
name
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'UrlRewrite'.\n " return pulumi.get(self, 'name')
@property @pulumi.getter def name(self) -> str: "\n The name of the action for the delivery rule.\n Expected value is 'UrlRewrite'.\n " return pulumi.get(self, 'name')<|docstring|>The name of the action for the delivery rule. Expected value is 'UrlRewrite'.<|endoftext|>
eab24ef78f482e4681998afac1b5d1d4d5f1bf7efdb764106abb1a355d9468ce
@property @pulumi.getter def parameters(self) -> 'outputs.UrlRewriteActionParametersResponse': '\n Defines the parameters for the action.\n ' return pulumi.get(self, 'parameters')
Defines the parameters for the action.
sdk/python/pulumi_azure_native/cdn/v20191231/outputs.py
parameters
pulumi-bot/pulumi-azure-native
31
python
@property @pulumi.getter def parameters(self) -> 'outputs.UrlRewriteActionParametersResponse': '\n \n ' return pulumi.get(self, 'parameters')
@property @pulumi.getter def parameters(self) -> 'outputs.UrlRewriteActionParametersResponse': '\n \n ' return pulumi.get(self, 'parameters')<|docstring|>Defines the parameters for the action.<|endoftext|>
9a8e0fd2844468ceaaeedeef6bce2d3ae7430714f46465235ec6e8e11e773e33
def _handler(self, request, response): '\n Implement the PyWPS process handler\n :param request:\n :param response:\n :return:\n ' del self.full_log[:] del self.exceptions_list[:] self.result_summary.clear() self.overall_progress['progress'] = 0 self.response = response self.update_status('starting workflow ...', 0) workflow = json.load(request.inputs['workflow'][0].stream) workflow_name = workflow.get('name', 'unknown') self.update_status('workflow {0} prepared:'.format(workflow_name), 0) self.full_log.append(json.dumps(workflow, indent=4, separators=(',', ': '))) headers = {} if ('X-X509-User-Proxy' in request.http_request.headers): headers['X-X509-User-Proxy'] = request.http_request.headers['X-X509-User-Proxy'] if ('Access-Token' in request.http_request.headers): headers['Access-Token'] = request.http_request.headers['Access-Token'] try: run(workflow, monitor=self, headers=headers) self.update_status('workflow {0} done.'.format(workflow_name), 100) formatted_summary = self._format_summary() self.full_log.append('Workflow result:') self.full_log.append(json.dumps(formatted_summary, indent=4, separators=(',', ': '), sort_keys=True)) except Exception as e: formatted_summary = None self.raise_exception(e) if (len(self.exceptions_list) > 0): full_msg = '\nCatch {nb_e} exception(s) while running the workflow:\n{exceptions}\n\nExecution log:\n{log}'.format(nb_e=len(self.exceptions_list), exceptions='\n'.join(self.exceptions_list), log='\n'.join(self.full_log)) raise WorkflowException(full_msg) with open('logfile.txt', 'w') as fp: fp.write('\n'.join(self.full_log)) response.outputs['logfile'].file = fp.name with open('output.json', 'w') as fp: fp.write(json.dumps(formatted_summary, sort_keys=True)) response.outputs['output'].file = fp.name return response
Implement the PyWPS process handler :param request: :param response: :return:
malleefowl/processes/wps_custom_workflow.py
_handler
Ouranosinc/malleefowl
0
python
def _handler(self, request, response): '\n Implement the PyWPS process handler\n :param request:\n :param response:\n :return:\n ' del self.full_log[:] del self.exceptions_list[:] self.result_summary.clear() self.overall_progress['progress'] = 0 self.response = response self.update_status('starting workflow ...', 0) workflow = json.load(request.inputs['workflow'][0].stream) workflow_name = workflow.get('name', 'unknown') self.update_status('workflow {0} prepared:'.format(workflow_name), 0) self.full_log.append(json.dumps(workflow, indent=4, separators=(',', ': '))) headers = {} if ('X-X509-User-Proxy' in request.http_request.headers): headers['X-X509-User-Proxy'] = request.http_request.headers['X-X509-User-Proxy'] if ('Access-Token' in request.http_request.headers): headers['Access-Token'] = request.http_request.headers['Access-Token'] try: run(workflow, monitor=self, headers=headers) self.update_status('workflow {0} done.'.format(workflow_name), 100) formatted_summary = self._format_summary() self.full_log.append('Workflow result:') self.full_log.append(json.dumps(formatted_summary, indent=4, separators=(',', ': '), sort_keys=True)) except Exception as e: formatted_summary = None self.raise_exception(e) if (len(self.exceptions_list) > 0): full_msg = '\nCatch {nb_e} exception(s) while running the workflow:\n{exceptions}\n\nExecution log:\n{log}'.format(nb_e=len(self.exceptions_list), exceptions='\n'.join(self.exceptions_list), log='\n'.join(self.full_log)) raise WorkflowException(full_msg) with open('logfile.txt', 'w') as fp: fp.write('\n'.join(self.full_log)) response.outputs['logfile'].file = fp.name with open('output.json', 'w') as fp: fp.write(json.dumps(formatted_summary, sort_keys=True)) response.outputs['output'].file = fp.name return response
def _handler(self, request, response): '\n Implement the PyWPS process handler\n :param request:\n :param response:\n :return:\n ' del self.full_log[:] del self.exceptions_list[:] self.result_summary.clear() self.overall_progress['progress'] = 0 self.response = response self.update_status('starting workflow ...', 0) workflow = json.load(request.inputs['workflow'][0].stream) workflow_name = workflow.get('name', 'unknown') self.update_status('workflow {0} prepared:'.format(workflow_name), 0) self.full_log.append(json.dumps(workflow, indent=4, separators=(',', ': '))) headers = {} if ('X-X509-User-Proxy' in request.http_request.headers): headers['X-X509-User-Proxy'] = request.http_request.headers['X-X509-User-Proxy'] if ('Access-Token' in request.http_request.headers): headers['Access-Token'] = request.http_request.headers['Access-Token'] try: run(workflow, monitor=self, headers=headers) self.update_status('workflow {0} done.'.format(workflow_name), 100) formatted_summary = self._format_summary() self.full_log.append('Workflow result:') self.full_log.append(json.dumps(formatted_summary, indent=4, separators=(',', ': '), sort_keys=True)) except Exception as e: formatted_summary = None self.raise_exception(e) if (len(self.exceptions_list) > 0): full_msg = '\nCatch {nb_e} exception(s) while running the workflow:\n{exceptions}\n\nExecution log:\n{log}'.format(nb_e=len(self.exceptions_list), exceptions='\n'.join(self.exceptions_list), log='\n'.join(self.full_log)) raise WorkflowException(full_msg) with open('logfile.txt', 'w') as fp: fp.write('\n'.join(self.full_log)) response.outputs['logfile'].file = fp.name with open('output.json', 'w') as fp: fp.write(json.dumps(formatted_summary, sort_keys=True)) response.outputs['output'].file = fp.name return response<|docstring|>Implement the PyWPS process handler :param request: :param response: :return:<|endoftext|>
77dc5b1cb4c5be34b2253210c66de7d1959087b67bbfe02477d4cf82efd17b83
def update_status(self, message, progress=None): '\n Implement malleefowl.utils.Monitor.update_status function. See Monitor.update_status for details\n ' if (not progress): progress = self.overall_progress['progress'] else: self.overall_progress['progress'] = progress logger.debug('{progress:>4}%: {msg}'.format(progress=progress, msg=message)) log = '{timestamp}{progress:>4}%: {msg}'.format(timestamp=datetime.now().strftime('%H:%M:%S'), progress=progress, msg=message) self.response.update_status(message, progress) self.full_log.append(log)
Implement malleefowl.utils.Monitor.update_status function. See Monitor.update_status for details
malleefowl/processes/wps_custom_workflow.py
update_status
Ouranosinc/malleefowl
0
python
def update_status(self, message, progress=None): '\n \n ' if (not progress): progress = self.overall_progress['progress'] else: self.overall_progress['progress'] = progress logger.debug('{progress:>4}%: {msg}'.format(progress=progress, msg=message)) log = '{timestamp}{progress:>4}%: {msg}'.format(timestamp=datetime.now().strftime('%H:%M:%S'), progress=progress, msg=message) self.response.update_status(message, progress) self.full_log.append(log)
def update_status(self, message, progress=None): '\n \n ' if (not progress): progress = self.overall_progress['progress'] else: self.overall_progress['progress'] = progress logger.debug('{progress:>4}%: {msg}'.format(progress=progress, msg=message)) log = '{timestamp}{progress:>4}%: {msg}'.format(timestamp=datetime.now().strftime('%H:%M:%S'), progress=progress, msg=message) self.response.update_status(message, progress) self.full_log.append(log)<|docstring|>Implement malleefowl.utils.Monitor.update_status function. See Monitor.update_status for details<|endoftext|>
a5891b16ff137215066b4b0912839b931496949d84c1cafb3da838bbcf933c68
def raise_exception(self, exception): '\n Implement malleefowl.utils.Monitor.raise_exception function. See Monitor.raise_exception for details\n ' self.exceptions_list.append(traceback.format_exc())
Implement malleefowl.utils.Monitor.raise_exception function. See Monitor.raise_exception for details
malleefowl/processes/wps_custom_workflow.py
raise_exception
Ouranosinc/malleefowl
0
python
def raise_exception(self, exception): '\n \n ' self.exceptions_list.append(traceback.format_exc())
def raise_exception(self, exception): '\n \n ' self.exceptions_list.append(traceback.format_exc())<|docstring|>Implement malleefowl.utils.Monitor.raise_exception function. See Monitor.raise_exception for details<|endoftext|>
e72246a45409ff818a4313721d4093db8ff0b8236481749cf5e8a9a116c12276
def save_task_result(self, task, result): '\n Implement malleefowl.utils.Monitor.save_task_result function. See Monitor.save_task_result for details\n ' if (task in self.result_summary): task_result = self.result_summary[task] task_result['processes'].append(result) self.result_summary.update({task: task_result}) else: result.update() self.result_summary.update({task: dict(execution_order=(len(self.result_summary) + 1), processes=[result])})
Implement malleefowl.utils.Monitor.save_task_result function. See Monitor.save_task_result for details
malleefowl/processes/wps_custom_workflow.py
save_task_result
Ouranosinc/malleefowl
0
python
def save_task_result(self, task, result): '\n \n ' if (task in self.result_summary): task_result = self.result_summary[task] task_result['processes'].append(result) self.result_summary.update({task: task_result}) else: result.update() self.result_summary.update({task: dict(execution_order=(len(self.result_summary) + 1), processes=[result])})
def save_task_result(self, task, result): '\n \n ' if (task in self.result_summary): task_result = self.result_summary[task] task_result['processes'].append(result) self.result_summary.update({task: task_result}) else: result.update() self.result_summary.update({task: dict(execution_order=(len(self.result_summary) + 1), processes=[result])})<|docstring|>Implement malleefowl.utils.Monitor.save_task_result function. See Monitor.save_task_result for details<|endoftext|>
e297ff8a772bacff1105ab0bd535b7633f52b6ce84d7d96ea4ab644589673704
def _format_summary(self): '\n Format the summary for a better looking\n ' ordered_task = sorted(self.result_summary.items(), key=(lambda x: x[1]['execution_order'])) return [{task[0]: sorted(task[1]['processes'], key=(lambda x: x.get('data_id', 0)))} for task in ordered_task]
Format the summary for a better looking
malleefowl/processes/wps_custom_workflow.py
_format_summary
Ouranosinc/malleefowl
0
python
def _format_summary(self): '\n \n ' ordered_task = sorted(self.result_summary.items(), key=(lambda x: x[1]['execution_order'])) return [{task[0]: sorted(task[1]['processes'], key=(lambda x: x.get('data_id', 0)))} for task in ordered_task]
def _format_summary(self): '\n \n ' ordered_task = sorted(self.result_summary.items(), key=(lambda x: x[1]['execution_order'])) return [{task[0]: sorted(task[1]['processes'], key=(lambda x: x.get('data_id', 0)))} for task in ordered_task]<|docstring|>Format the summary for a better looking<|endoftext|>
a8999a15d468303d32db8aa4df02cd06a279177c179fcad39ba6445409e5c103
def collapse_polymer(polymer: str) -> str: 'Remove components that interact with one another and return the result' polymer = [c for c in polymer] i = 0 while (i < (len(polymer) - 1)): if react(polymer[i], polymer[(i + 1)]): del polymer[i:(i + 2)] if (i > 0): i -= 1 else: i += 1 return ''.join(polymer)
Remove components that interact with one another and return the result
2018/05/solution.py
collapse_polymer
jrm5100/advent-of-code-python
0
python
def collapse_polymer(polymer: str) -> str: polymer = [c for c in polymer] i = 0 while (i < (len(polymer) - 1)): if react(polymer[i], polymer[(i + 1)]): del polymer[i:(i + 2)] if (i > 0): i -= 1 else: i += 1 return .join(polymer)
def collapse_polymer(polymer: str) -> str: polymer = [c for c in polymer] i = 0 while (i < (len(polymer) - 1)): if react(polymer[i], polymer[(i + 1)]): del polymer[i:(i + 2)] if (i > 0): i -= 1 else: i += 1 return .join(polymer)<|docstring|>Remove components that interact with one another and return the result<|endoftext|>
6a3e2d14faa29c23a19b2f8bc4933407a43d4183e498bd44128798fce0c9addc
def forward(self, feats): '\n\n Args:\n feats: list(tensor).\n\n Returns:\n hm: tensor, (batch, 80, h, w).\n wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n ' x = feats[(- 1)] if (not self.use_dla): for (i, upsample_layer) in enumerate(self.deconv_layers): x = upsample_layer(x) if (i < len(self.shortcut_layers)): shortcut = self.shortcut_layers[i](feats[((- i) - 2)]) x = (x + shortcut) hm = self.hm(x) wh = (F.relu(self.wh(x)) * self.wh_offset_base) return (hm, wh)
Args: feats: list(tensor). Returns: hm: tensor, (batch, 80, h, w). wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).
mmdet/models/dense_heads/ttf_head.py
forward
ChHanXiao/mmdetection
0
python
def forward(self, feats): '\n\n Args:\n feats: list(tensor).\n\n Returns:\n hm: tensor, (batch, 80, h, w).\n wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n ' x = feats[(- 1)] if (not self.use_dla): for (i, upsample_layer) in enumerate(self.deconv_layers): x = upsample_layer(x) if (i < len(self.shortcut_layers)): shortcut = self.shortcut_layers[i](feats[((- i) - 2)]) x = (x + shortcut) hm = self.hm(x) wh = (F.relu(self.wh(x)) * self.wh_offset_base) return (hm, wh)
def forward(self, feats): '\n\n Args:\n feats: list(tensor).\n\n Returns:\n hm: tensor, (batch, 80, h, w).\n wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n ' x = feats[(- 1)] if (not self.use_dla): for (i, upsample_layer) in enumerate(self.deconv_layers): x = upsample_layer(x) if (i < len(self.shortcut_layers)): shortcut = self.shortcut_layers[i](feats[((- i) - 2)]) x = (x + shortcut) hm = self.hm(x) wh = (F.relu(self.wh(x)) * self.wh_offset_base) return (hm, wh)<|docstring|>Args: feats: list(tensor). Returns: hm: tensor, (batch, 80, h, w). wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).<|endoftext|>
9b9ad2a7e26ab9555144f1fb44af47541087066a416722bc6c4b9db2b7e4ac63
def get_targets(self, gt_boxes, gt_labels, feat_shape): '\n Args:\n gt_boxes: list(tensor). tensor <=> image, (gt_num, 4).\n gt_labels: list(tensor). tensor <=> image, (gt_num,).\n feat_shape: tuple.\n\n Returns:\n heatmap: tensor, (batch, 80, h, w).\n box_target: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n reg_weight: tensor, same as box_target.\n ' (heatmap, box_target, reg_weight) = multi_apply(self.target_single_image, gt_boxes, gt_labels, feat_shape=feat_shape) (heatmap, box_target) = [torch.stack(t, dim=0).detach() for t in [heatmap, box_target]] reg_weight = torch.stack(reg_weight, dim=0).detach() return (heatmap, box_target, reg_weight)
Args: gt_boxes: list(tensor). tensor <=> image, (gt_num, 4). gt_labels: list(tensor). tensor <=> image, (gt_num,). feat_shape: tuple. Returns: heatmap: tensor, (batch, 80, h, w). box_target: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w). reg_weight: tensor, same as box_target.
mmdet/models/dense_heads/ttf_head.py
get_targets
ChHanXiao/mmdetection
0
python
def get_targets(self, gt_boxes, gt_labels, feat_shape): '\n Args:\n gt_boxes: list(tensor). tensor <=> image, (gt_num, 4).\n gt_labels: list(tensor). tensor <=> image, (gt_num,).\n feat_shape: tuple.\n\n Returns:\n heatmap: tensor, (batch, 80, h, w).\n box_target: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n reg_weight: tensor, same as box_target.\n ' (heatmap, box_target, reg_weight) = multi_apply(self.target_single_image, gt_boxes, gt_labels, feat_shape=feat_shape) (heatmap, box_target) = [torch.stack(t, dim=0).detach() for t in [heatmap, box_target]] reg_weight = torch.stack(reg_weight, dim=0).detach() return (heatmap, box_target, reg_weight)
def get_targets(self, gt_boxes, gt_labels, feat_shape): '\n Args:\n gt_boxes: list(tensor). tensor <=> image, (gt_num, 4).\n gt_labels: list(tensor). tensor <=> image, (gt_num,).\n feat_shape: tuple.\n\n Returns:\n heatmap: tensor, (batch, 80, h, w).\n box_target: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n reg_weight: tensor, same as box_target.\n ' (heatmap, box_target, reg_weight) = multi_apply(self.target_single_image, gt_boxes, gt_labels, feat_shape=feat_shape) (heatmap, box_target) = [torch.stack(t, dim=0).detach() for t in [heatmap, box_target]] reg_weight = torch.stack(reg_weight, dim=0).detach() return (heatmap, box_target, reg_weight)<|docstring|>Args: gt_boxes: list(tensor). tensor <=> image, (gt_num, 4). gt_labels: list(tensor). tensor <=> image, (gt_num,). feat_shape: tuple. Returns: heatmap: tensor, (batch, 80, h, w). box_target: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w). reg_weight: tensor, same as box_target.<|endoftext|>
5c8a09e9c665a21de58ed08bf31e1685c85afeacc26d7f514d27c232c68cfdb1
def target_single_image(self, gt_boxes, gt_labels, feat_shape): '\n\n Args:\n gt_boxes: tensor, tensor <=> img, (num_gt, 4).\n gt_labels: tensor, tensor <=> img, (num_gt,).\n feat_shape: tuple.\n\n Returns:\n heatmap: tensor, tensor <=> img, (80, h, w).\n box_target: tensor, tensor <=> img, (4, h, w) or (80 * 4, h, w).\n reg_weight: tensor, same as box_target\n ' (_, output_h, output_w) = feat_shape heatmap_channel = self.num_classes heatmap = gt_boxes.new_zeros((heatmap_channel, output_h, output_w)) fake_heatmap = gt_boxes.new_zeros((output_h, output_w)) box_target = (gt_boxes.new_ones((self.wh_planes, output_h, output_w)) * (- 1)) reg_weight = gt_boxes.new_zeros(((self.wh_planes // 4), output_h, output_w)) if (self.wh_area_process == 'log'): boxes_areas_log = bbox_areas(gt_boxes).log() elif (self.wh_area_process == 'sqrt'): boxes_areas_log = bbox_areas(gt_boxes).sqrt() else: boxes_areas_log = bbox_areas(gt_boxes) (boxes_area_topk_log, boxes_ind) = torch.topk(boxes_areas_log, boxes_areas_log.size(0)) if (self.wh_area_process == 'norm'): boxes_area_topk_log[:] = 1.0 gt_boxes = gt_boxes[boxes_ind] gt_labels = gt_labels[boxes_ind] feat_gt_boxes = (gt_boxes / self.down_ratio) feat_gt_boxes[(:, [0, 2])] = torch.clamp(feat_gt_boxes[(:, [0, 2])], min=0, max=(output_w - 1)) feat_gt_boxes[(:, [1, 3])] = torch.clamp(feat_gt_boxes[(:, [1, 3])], min=0, max=(output_h - 1)) (feat_hs, feat_ws) = ((feat_gt_boxes[(:, 3)] - feat_gt_boxes[(:, 1)]), (feat_gt_boxes[(:, 2)] - feat_gt_boxes[(:, 0)])) ct_ints = (torch.stack([((gt_boxes[(:, 0)] + gt_boxes[(:, 2)]) / 2), ((gt_boxes[(:, 1)] + gt_boxes[(:, 3)]) / 2)], dim=1) / self.down_ratio).to(torch.int) h_radiuses_alpha = ((feat_hs / 2.0) * self.alpha).int() w_radiuses_alpha = ((feat_ws / 2.0) * self.alpha).int() for k in range(boxes_ind.shape[0]): cls_id = gt_labels[k] fake_heatmap = fake_heatmap.zero_() fake_heatmap = gen_ellipse_gaussian_target(fake_heatmap, ct_ints[k], h_radiuses_alpha[k], w_radiuses_alpha[k]) heatmap[cls_id] = torch.max(heatmap[cls_id], fake_heatmap) box_target_inds = (fake_heatmap > 0) box_target[(:, box_target_inds)] = gt_boxes[k][(:, None)] local_heatmap = fake_heatmap[box_target_inds] ct_div = local_heatmap.sum() local_heatmap *= boxes_area_topk_log[k] reg_weight[(0, box_target_inds)] = (local_heatmap / ct_div) return (heatmap, box_target, reg_weight)
Args: gt_boxes: tensor, tensor <=> img, (num_gt, 4). gt_labels: tensor, tensor <=> img, (num_gt,). feat_shape: tuple. Returns: heatmap: tensor, tensor <=> img, (80, h, w). box_target: tensor, tensor <=> img, (4, h, w) or (80 * 4, h, w). reg_weight: tensor, same as box_target
mmdet/models/dense_heads/ttf_head.py
target_single_image
ChHanXiao/mmdetection
0
python
def target_single_image(self, gt_boxes, gt_labels, feat_shape): '\n\n Args:\n gt_boxes: tensor, tensor <=> img, (num_gt, 4).\n gt_labels: tensor, tensor <=> img, (num_gt,).\n feat_shape: tuple.\n\n Returns:\n heatmap: tensor, tensor <=> img, (80, h, w).\n box_target: tensor, tensor <=> img, (4, h, w) or (80 * 4, h, w).\n reg_weight: tensor, same as box_target\n ' (_, output_h, output_w) = feat_shape heatmap_channel = self.num_classes heatmap = gt_boxes.new_zeros((heatmap_channel, output_h, output_w)) fake_heatmap = gt_boxes.new_zeros((output_h, output_w)) box_target = (gt_boxes.new_ones((self.wh_planes, output_h, output_w)) * (- 1)) reg_weight = gt_boxes.new_zeros(((self.wh_planes // 4), output_h, output_w)) if (self.wh_area_process == 'log'): boxes_areas_log = bbox_areas(gt_boxes).log() elif (self.wh_area_process == 'sqrt'): boxes_areas_log = bbox_areas(gt_boxes).sqrt() else: boxes_areas_log = bbox_areas(gt_boxes) (boxes_area_topk_log, boxes_ind) = torch.topk(boxes_areas_log, boxes_areas_log.size(0)) if (self.wh_area_process == 'norm'): boxes_area_topk_log[:] = 1.0 gt_boxes = gt_boxes[boxes_ind] gt_labels = gt_labels[boxes_ind] feat_gt_boxes = (gt_boxes / self.down_ratio) feat_gt_boxes[(:, [0, 2])] = torch.clamp(feat_gt_boxes[(:, [0, 2])], min=0, max=(output_w - 1)) feat_gt_boxes[(:, [1, 3])] = torch.clamp(feat_gt_boxes[(:, [1, 3])], min=0, max=(output_h - 1)) (feat_hs, feat_ws) = ((feat_gt_boxes[(:, 3)] - feat_gt_boxes[(:, 1)]), (feat_gt_boxes[(:, 2)] - feat_gt_boxes[(:, 0)])) ct_ints = (torch.stack([((gt_boxes[(:, 0)] + gt_boxes[(:, 2)]) / 2), ((gt_boxes[(:, 1)] + gt_boxes[(:, 3)]) / 2)], dim=1) / self.down_ratio).to(torch.int) h_radiuses_alpha = ((feat_hs / 2.0) * self.alpha).int() w_radiuses_alpha = ((feat_ws / 2.0) * self.alpha).int() for k in range(boxes_ind.shape[0]): cls_id = gt_labels[k] fake_heatmap = fake_heatmap.zero_() fake_heatmap = gen_ellipse_gaussian_target(fake_heatmap, ct_ints[k], h_radiuses_alpha[k], w_radiuses_alpha[k]) heatmap[cls_id] = torch.max(heatmap[cls_id], fake_heatmap) box_target_inds = (fake_heatmap > 0) box_target[(:, box_target_inds)] = gt_boxes[k][(:, None)] local_heatmap = fake_heatmap[box_target_inds] ct_div = local_heatmap.sum() local_heatmap *= boxes_area_topk_log[k] reg_weight[(0, box_target_inds)] = (local_heatmap / ct_div) return (heatmap, box_target, reg_weight)
def target_single_image(self, gt_boxes, gt_labels, feat_shape): '\n\n Args:\n gt_boxes: tensor, tensor <=> img, (num_gt, 4).\n gt_labels: tensor, tensor <=> img, (num_gt,).\n feat_shape: tuple.\n\n Returns:\n heatmap: tensor, tensor <=> img, (80, h, w).\n box_target: tensor, tensor <=> img, (4, h, w) or (80 * 4, h, w).\n reg_weight: tensor, same as box_target\n ' (_, output_h, output_w) = feat_shape heatmap_channel = self.num_classes heatmap = gt_boxes.new_zeros((heatmap_channel, output_h, output_w)) fake_heatmap = gt_boxes.new_zeros((output_h, output_w)) box_target = (gt_boxes.new_ones((self.wh_planes, output_h, output_w)) * (- 1)) reg_weight = gt_boxes.new_zeros(((self.wh_planes // 4), output_h, output_w)) if (self.wh_area_process == 'log'): boxes_areas_log = bbox_areas(gt_boxes).log() elif (self.wh_area_process == 'sqrt'): boxes_areas_log = bbox_areas(gt_boxes).sqrt() else: boxes_areas_log = bbox_areas(gt_boxes) (boxes_area_topk_log, boxes_ind) = torch.topk(boxes_areas_log, boxes_areas_log.size(0)) if (self.wh_area_process == 'norm'): boxes_area_topk_log[:] = 1.0 gt_boxes = gt_boxes[boxes_ind] gt_labels = gt_labels[boxes_ind] feat_gt_boxes = (gt_boxes / self.down_ratio) feat_gt_boxes[(:, [0, 2])] = torch.clamp(feat_gt_boxes[(:, [0, 2])], min=0, max=(output_w - 1)) feat_gt_boxes[(:, [1, 3])] = torch.clamp(feat_gt_boxes[(:, [1, 3])], min=0, max=(output_h - 1)) (feat_hs, feat_ws) = ((feat_gt_boxes[(:, 3)] - feat_gt_boxes[(:, 1)]), (feat_gt_boxes[(:, 2)] - feat_gt_boxes[(:, 0)])) ct_ints = (torch.stack([((gt_boxes[(:, 0)] + gt_boxes[(:, 2)]) / 2), ((gt_boxes[(:, 1)] + gt_boxes[(:, 3)]) / 2)], dim=1) / self.down_ratio).to(torch.int) h_radiuses_alpha = ((feat_hs / 2.0) * self.alpha).int() w_radiuses_alpha = ((feat_ws / 2.0) * self.alpha).int() for k in range(boxes_ind.shape[0]): cls_id = gt_labels[k] fake_heatmap = fake_heatmap.zero_() fake_heatmap = gen_ellipse_gaussian_target(fake_heatmap, ct_ints[k], h_radiuses_alpha[k], w_radiuses_alpha[k]) heatmap[cls_id] = torch.max(heatmap[cls_id], fake_heatmap) box_target_inds = (fake_heatmap > 0) box_target[(:, box_target_inds)] = gt_boxes[k][(:, None)] local_heatmap = fake_heatmap[box_target_inds] ct_div = local_heatmap.sum() local_heatmap *= boxes_area_topk_log[k] reg_weight[(0, box_target_inds)] = (local_heatmap / ct_div) return (heatmap, box_target, reg_weight)<|docstring|>Args: gt_boxes: tensor, tensor <=> img, (num_gt, 4). gt_labels: tensor, tensor <=> img, (num_gt,). feat_shape: tuple. Returns: heatmap: tensor, tensor <=> img, (80, h, w). box_target: tensor, tensor <=> img, (4, h, w) or (80 * 4, h, w). reg_weight: tensor, same as box_target<|endoftext|>
7cc0809c36766f61ecbb98055a076763b6c27fa19dee4d7f155b3a4c812c798f
def loss_calc(self, pred_hm, pred_wh, heatmap, box_target, reg_weight): '\n\n Args:\n pred_hm: tensor, (batch, 80, h, w).\n pred_wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n heatmap: tensor, same as pred_hm.\n box_target: tensor, same as pred_wh.\n wh_weight: tensor, same as pred_wh.\n\n Returns:\n hm_loss\n wh_loss\n ' (H, W) = pred_hm.shape[2:] hm_loss = self.loss_heatmap(pred_hm.sigmoid(), heatmap, avg_factor=max(1, heatmap.eq(1).sum())) if ((self.base_loc is None) or (H != self.base_loc.shape[1]) or (W != self.base_loc.shape[2])): base_step = self.down_ratio shifts_x = torch.arange(0, (((W - 1) * base_step) + 1), base_step, dtype=torch.float32, device=heatmap.device) shifts_y = torch.arange(0, (((H - 1) * base_step) + 1), base_step, dtype=torch.float32, device=heatmap.device) (shift_y, shift_x) = torch.meshgrid(shifts_y, shifts_x) self.base_loc = torch.stack((shift_x, shift_y), dim=0) pred_boxes = torch.cat(((self.base_loc - pred_wh[(:, [0, 1])]), (self.base_loc + pred_wh[(:, [2, 3])])), dim=1).permute(0, 2, 3, 1) boxes = box_target.permute(0, 2, 3, 1) mask = reg_weight.view((- 1), H, W) avg_factor = (mask.sum() + 0.0001) pos_mask = (mask > 0) weight = mask[pos_mask].float() bboxes1 = pred_boxes[pos_mask].view((- 1), 4) bboxes2 = boxes[pos_mask].view((- 1), 4) wh_loss = self.loss_bbox(bboxes1, bboxes2, weight, avg_factor=avg_factor) return (hm_loss, wh_loss)
Args: pred_hm: tensor, (batch, 80, h, w). pred_wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w). heatmap: tensor, same as pred_hm. box_target: tensor, same as pred_wh. wh_weight: tensor, same as pred_wh. Returns: hm_loss wh_loss
mmdet/models/dense_heads/ttf_head.py
loss_calc
ChHanXiao/mmdetection
0
python
def loss_calc(self, pred_hm, pred_wh, heatmap, box_target, reg_weight): '\n\n Args:\n pred_hm: tensor, (batch, 80, h, w).\n pred_wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n heatmap: tensor, same as pred_hm.\n box_target: tensor, same as pred_wh.\n wh_weight: tensor, same as pred_wh.\n\n Returns:\n hm_loss\n wh_loss\n ' (H, W) = pred_hm.shape[2:] hm_loss = self.loss_heatmap(pred_hm.sigmoid(), heatmap, avg_factor=max(1, heatmap.eq(1).sum())) if ((self.base_loc is None) or (H != self.base_loc.shape[1]) or (W != self.base_loc.shape[2])): base_step = self.down_ratio shifts_x = torch.arange(0, (((W - 1) * base_step) + 1), base_step, dtype=torch.float32, device=heatmap.device) shifts_y = torch.arange(0, (((H - 1) * base_step) + 1), base_step, dtype=torch.float32, device=heatmap.device) (shift_y, shift_x) = torch.meshgrid(shifts_y, shifts_x) self.base_loc = torch.stack((shift_x, shift_y), dim=0) pred_boxes = torch.cat(((self.base_loc - pred_wh[(:, [0, 1])]), (self.base_loc + pred_wh[(:, [2, 3])])), dim=1).permute(0, 2, 3, 1) boxes = box_target.permute(0, 2, 3, 1) mask = reg_weight.view((- 1), H, W) avg_factor = (mask.sum() + 0.0001) pos_mask = (mask > 0) weight = mask[pos_mask].float() bboxes1 = pred_boxes[pos_mask].view((- 1), 4) bboxes2 = boxes[pos_mask].view((- 1), 4) wh_loss = self.loss_bbox(bboxes1, bboxes2, weight, avg_factor=avg_factor) return (hm_loss, wh_loss)
def loss_calc(self, pred_hm, pred_wh, heatmap, box_target, reg_weight): '\n\n Args:\n pred_hm: tensor, (batch, 80, h, w).\n pred_wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w).\n heatmap: tensor, same as pred_hm.\n box_target: tensor, same as pred_wh.\n wh_weight: tensor, same as pred_wh.\n\n Returns:\n hm_loss\n wh_loss\n ' (H, W) = pred_hm.shape[2:] hm_loss = self.loss_heatmap(pred_hm.sigmoid(), heatmap, avg_factor=max(1, heatmap.eq(1).sum())) if ((self.base_loc is None) or (H != self.base_loc.shape[1]) or (W != self.base_loc.shape[2])): base_step = self.down_ratio shifts_x = torch.arange(0, (((W - 1) * base_step) + 1), base_step, dtype=torch.float32, device=heatmap.device) shifts_y = torch.arange(0, (((H - 1) * base_step) + 1), base_step, dtype=torch.float32, device=heatmap.device) (shift_y, shift_x) = torch.meshgrid(shifts_y, shifts_x) self.base_loc = torch.stack((shift_x, shift_y), dim=0) pred_boxes = torch.cat(((self.base_loc - pred_wh[(:, [0, 1])]), (self.base_loc + pred_wh[(:, [2, 3])])), dim=1).permute(0, 2, 3, 1) boxes = box_target.permute(0, 2, 3, 1) mask = reg_weight.view((- 1), H, W) avg_factor = (mask.sum() + 0.0001) pos_mask = (mask > 0) weight = mask[pos_mask].float() bboxes1 = pred_boxes[pos_mask].view((- 1), 4) bboxes2 = boxes[pos_mask].view((- 1), 4) wh_loss = self.loss_bbox(bboxes1, bboxes2, weight, avg_factor=avg_factor) return (hm_loss, wh_loss)<|docstring|>Args: pred_hm: tensor, (batch, 80, h, w). pred_wh: tensor, (batch, 4, h, w) or (batch, 80 * 4, h, w). heatmap: tensor, same as pred_hm. box_target: tensor, same as pred_wh. wh_weight: tensor, same as pred_wh. Returns: hm_loss wh_loss<|endoftext|>
18062a0b22c85ea2c2be32368c73b27ef33fb984cf8ce237002e518d7aee47f5
def _gather_feat(self, feat, ind, mask=None): 'Gather feature according to index.\n\n Args:\n feat (Tensor): Target feature map.\n ind (Tensor): Target coord index.\n mask (Tensor | None): Mask of featuremap. Default: None.\n\n Returns:\n feat (Tensor): Gathered feature.\n ' dim = feat.size(2) ind = ind.unsqueeze(2).repeat(1, 1, dim) feat = feat.gather(1, ind) if (mask is not None): mask = mask.unsqueeze(2).expand_as(feat) feat = feat[mask] feat = feat.view((- 1), dim) return feat
Gather feature according to index. Args: feat (Tensor): Target feature map. ind (Tensor): Target coord index. mask (Tensor | None): Mask of featuremap. Default: None. Returns: feat (Tensor): Gathered feature.
mmdet/models/dense_heads/ttf_head.py
_gather_feat
ChHanXiao/mmdetection
0
python
def _gather_feat(self, feat, ind, mask=None): 'Gather feature according to index.\n\n Args:\n feat (Tensor): Target feature map.\n ind (Tensor): Target coord index.\n mask (Tensor | None): Mask of featuremap. Default: None.\n\n Returns:\n feat (Tensor): Gathered feature.\n ' dim = feat.size(2) ind = ind.unsqueeze(2).repeat(1, 1, dim) feat = feat.gather(1, ind) if (mask is not None): mask = mask.unsqueeze(2).expand_as(feat) feat = feat[mask] feat = feat.view((- 1), dim) return feat
def _gather_feat(self, feat, ind, mask=None): 'Gather feature according to index.\n\n Args:\n feat (Tensor): Target feature map.\n ind (Tensor): Target coord index.\n mask (Tensor | None): Mask of featuremap. Default: None.\n\n Returns:\n feat (Tensor): Gathered feature.\n ' dim = feat.size(2) ind = ind.unsqueeze(2).repeat(1, 1, dim) feat = feat.gather(1, ind) if (mask is not None): mask = mask.unsqueeze(2).expand_as(feat) feat = feat[mask] feat = feat.view((- 1), dim) return feat<|docstring|>Gather feature according to index. Args: feat (Tensor): Target feature map. ind (Tensor): Target coord index. mask (Tensor | None): Mask of featuremap. Default: None. Returns: feat (Tensor): Gathered feature.<|endoftext|>
83d1460bf759b7f6935886cc68e655b893e7b1f065562d9e73e3394304763eb4
def _local_maximum(self, heat, kernel=3): 'Extract local maximum pixel with given kernal.\n\n Args:\n heat (Tensor): Target heatmap.\n kernel (int): Kernel size of max pooling. Default: 3.\n\n Returns:\n heat (Tensor): A heatmap where local maximum pixels maintain its\n own value and other positions are 0.\n ' pad = ((kernel - 1) // 2) hmax = F.max_pool2d(heat, kernel, stride=1, padding=pad) keep = (hmax == heat).float() return (heat * keep)
Extract local maximum pixel with given kernal. Args: heat (Tensor): Target heatmap. kernel (int): Kernel size of max pooling. Default: 3. Returns: heat (Tensor): A heatmap where local maximum pixels maintain its own value and other positions are 0.
mmdet/models/dense_heads/ttf_head.py
_local_maximum
ChHanXiao/mmdetection
0
python
def _local_maximum(self, heat, kernel=3): 'Extract local maximum pixel with given kernal.\n\n Args:\n heat (Tensor): Target heatmap.\n kernel (int): Kernel size of max pooling. Default: 3.\n\n Returns:\n heat (Tensor): A heatmap where local maximum pixels maintain its\n own value and other positions are 0.\n ' pad = ((kernel - 1) // 2) hmax = F.max_pool2d(heat, kernel, stride=1, padding=pad) keep = (hmax == heat).float() return (heat * keep)
def _local_maximum(self, heat, kernel=3): 'Extract local maximum pixel with given kernal.\n\n Args:\n heat (Tensor): Target heatmap.\n kernel (int): Kernel size of max pooling. Default: 3.\n\n Returns:\n heat (Tensor): A heatmap where local maximum pixels maintain its\n own value and other positions are 0.\n ' pad = ((kernel - 1) // 2) hmax = F.max_pool2d(heat, kernel, stride=1, padding=pad) keep = (hmax == heat).float() return (heat * keep)<|docstring|>Extract local maximum pixel with given kernal. Args: heat (Tensor): Target heatmap. kernel (int): Kernel size of max pooling. Default: 3. Returns: heat (Tensor): A heatmap where local maximum pixels maintain its own value and other positions are 0.<|endoftext|>
159bea44571a23d32a11b9315dafe65ab27f57c9c8555ce5ebe398669ee80e20
def _transpose_and_gather_feat(self, feat, ind): 'Transpose and gather feature according to index.\n\n Args:\n feat (Tensor): Target feature map.\n ind (Tensor): Target coord index.\n\n Returns:\n feat (Tensor): Transposed and gathered feature.\n ' feat = feat.permute(0, 2, 3, 1).contiguous() feat = feat.view(feat.size(0), (- 1), feat.size(3)) feat = self._gather_feat(feat, ind) return feat
Transpose and gather feature according to index. Args: feat (Tensor): Target feature map. ind (Tensor): Target coord index. Returns: feat (Tensor): Transposed and gathered feature.
mmdet/models/dense_heads/ttf_head.py
_transpose_and_gather_feat
ChHanXiao/mmdetection
0
python
def _transpose_and_gather_feat(self, feat, ind): 'Transpose and gather feature according to index.\n\n Args:\n feat (Tensor): Target feature map.\n ind (Tensor): Target coord index.\n\n Returns:\n feat (Tensor): Transposed and gathered feature.\n ' feat = feat.permute(0, 2, 3, 1).contiguous() feat = feat.view(feat.size(0), (- 1), feat.size(3)) feat = self._gather_feat(feat, ind) return feat
def _transpose_and_gather_feat(self, feat, ind): 'Transpose and gather feature according to index.\n\n Args:\n feat (Tensor): Target feature map.\n ind (Tensor): Target coord index.\n\n Returns:\n feat (Tensor): Transposed and gathered feature.\n ' feat = feat.permute(0, 2, 3, 1).contiguous() feat = feat.view(feat.size(0), (- 1), feat.size(3)) feat = self._gather_feat(feat, ind) return feat<|docstring|>Transpose and gather feature according to index. Args: feat (Tensor): Target feature map. ind (Tensor): Target coord index. Returns: feat (Tensor): Transposed and gathered feature.<|endoftext|>
b9f7a95365e234b854b7782d231ee4fea3179c32a73599b1e4857121a30fe0ac
def _topk(self, scores, k=20): 'Get top k positions from heatmap.\n\n Args:\n scores (Tensor): Target heatmap with shape\n [batch, num_classes, height, width].\n k (int): Target number. Default: 20.\n\n Returns:\n tuple[torch.Tensor]: Scores, indexes, categories and coords of\n topk keypoint. Containing following Tensors:\n\n - topk_scores (Tensor): Max scores of each topk keypoint.\n - topk_inds (Tensor): Indexes of each topk keypoint.\n - topk_clses (Tensor): Categories of each topk keypoint.\n - topk_ys (Tensor): Y-coord of each topk keypoint.\n - topk_xs (Tensor): X-coord of each topk keypoint.\n ' (batch, _, height, width) = scores.size() (topk_scores, topk_inds) = torch.topk(scores.view(batch, (- 1)), k) topk_clses = (topk_inds // (height * width)) topk_inds = (topk_inds % (height * width)) topk_ys = (topk_inds // width) topk_xs = (topk_inds % width).int().float() return (topk_scores, topk_inds, topk_clses, topk_ys, topk_xs)
Get top k positions from heatmap. Args: scores (Tensor): Target heatmap with shape [batch, num_classes, height, width]. k (int): Target number. Default: 20. Returns: tuple[torch.Tensor]: Scores, indexes, categories and coords of topk keypoint. Containing following Tensors: - topk_scores (Tensor): Max scores of each topk keypoint. - topk_inds (Tensor): Indexes of each topk keypoint. - topk_clses (Tensor): Categories of each topk keypoint. - topk_ys (Tensor): Y-coord of each topk keypoint. - topk_xs (Tensor): X-coord of each topk keypoint.
mmdet/models/dense_heads/ttf_head.py
_topk
ChHanXiao/mmdetection
0
python
def _topk(self, scores, k=20): 'Get top k positions from heatmap.\n\n Args:\n scores (Tensor): Target heatmap with shape\n [batch, num_classes, height, width].\n k (int): Target number. Default: 20.\n\n Returns:\n tuple[torch.Tensor]: Scores, indexes, categories and coords of\n topk keypoint. Containing following Tensors:\n\n - topk_scores (Tensor): Max scores of each topk keypoint.\n - topk_inds (Tensor): Indexes of each topk keypoint.\n - topk_clses (Tensor): Categories of each topk keypoint.\n - topk_ys (Tensor): Y-coord of each topk keypoint.\n - topk_xs (Tensor): X-coord of each topk keypoint.\n ' (batch, _, height, width) = scores.size() (topk_scores, topk_inds) = torch.topk(scores.view(batch, (- 1)), k) topk_clses = (topk_inds // (height * width)) topk_inds = (topk_inds % (height * width)) topk_ys = (topk_inds // width) topk_xs = (topk_inds % width).int().float() return (topk_scores, topk_inds, topk_clses, topk_ys, topk_xs)
def _topk(self, scores, k=20): 'Get top k positions from heatmap.\n\n Args:\n scores (Tensor): Target heatmap with shape\n [batch, num_classes, height, width].\n k (int): Target number. Default: 20.\n\n Returns:\n tuple[torch.Tensor]: Scores, indexes, categories and coords of\n topk keypoint. Containing following Tensors:\n\n - topk_scores (Tensor): Max scores of each topk keypoint.\n - topk_inds (Tensor): Indexes of each topk keypoint.\n - topk_clses (Tensor): Categories of each topk keypoint.\n - topk_ys (Tensor): Y-coord of each topk keypoint.\n - topk_xs (Tensor): X-coord of each topk keypoint.\n ' (batch, _, height, width) = scores.size() (topk_scores, topk_inds) = torch.topk(scores.view(batch, (- 1)), k) topk_clses = (topk_inds // (height * width)) topk_inds = (topk_inds % (height * width)) topk_ys = (topk_inds // width) topk_xs = (topk_inds % width).int().float() return (topk_scores, topk_inds, topk_clses, topk_ys, topk_xs)<|docstring|>Get top k positions from heatmap. Args: scores (Tensor): Target heatmap with shape [batch, num_classes, height, width]. k (int): Target number. Default: 20. Returns: tuple[torch.Tensor]: Scores, indexes, categories and coords of topk keypoint. Containing following Tensors: - topk_scores (Tensor): Max scores of each topk keypoint. - topk_inds (Tensor): Indexes of each topk keypoint. - topk_clses (Tensor): Categories of each topk keypoint. - topk_ys (Tensor): Y-coord of each topk keypoint. - topk_xs (Tensor): X-coord of each topk keypoint.<|endoftext|>
05bac55421cfd43d7b1bbb04ea9620a11b83f69572c9cb952cbee13a5ad181a1
def get_provisioning_nic(nics: List[Nic]): '\n Returns first nic with boot flag enabled or None\n ' nics = [nic for nic in nics if nic.boot] if (not nics): return None return nics[0]
Returns first nic with boot flag enabled or None
src/installer/src/tortuga/os/rhel/osSupport.py
get_provisioning_nic
sutasu/tortuga
33
python
def get_provisioning_nic(nics: List[Nic]): '\n \n ' nics = [nic for nic in nics if nic.boot] if (not nics): return None return nics[0]
def get_provisioning_nic(nics: List[Nic]): '\n \n ' nics = [nic for nic in nics if nic.boot] if (not nics): return None return nics[0]<|docstring|>Returns first nic with boot flag enabled or None<|endoftext|>
3b92bedf13ed6c9636a2a48d3c27ed160407840f5d05fd0396b7ce6200c850ea
def getPXEReinstallSnippet(self, ksurl: str, node: Node, hardwareprofile: Optional[HardwareProfile]=None, softwareprofile: Optional[SoftwareProfile]=None) -> str: '\n Raises:\n NicNotFound\n ' nic = get_provisioning_nic(node.nics) if (nic is None): raise NicNotFound(('Node [%s] does not have a bootable NIC' % node.name)) if (hardwareprofile is None): hardwareprofile = node.hardwareprofile if (softwareprofile is None): softwareprofile = node.softwareprofile bootParams = getBootParameters(hardwareprofile, softwareprofile) kernel = bootParams['kernel'] kernelParams = bootParams['kernelParams'] initrd = bootParams['initrd'] bootargs = [] if (softwareprofile.os.family.version == '7'): bootargs.append(('inst.ks=%s ip=%s:dhcp' % (ksurl, nic.networkdevice.name))) else: bootargs.append(('ks=%s' % ksurl)) bootargs.append(('ksdevice=%s' % nic.networkdevice.name)) if kernelParams: bootargs.append(kernelParams) result = (' kernel %s\n append initrd=%s %s' % (kernel, initrd, ' '.join(bootargs))) return result
Raises: NicNotFound
src/installer/src/tortuga/os/rhel/osSupport.py
getPXEReinstallSnippet
sutasu/tortuga
33
python
def getPXEReinstallSnippet(self, ksurl: str, node: Node, hardwareprofile: Optional[HardwareProfile]=None, softwareprofile: Optional[SoftwareProfile]=None) -> str: '\n Raises:\n NicNotFound\n ' nic = get_provisioning_nic(node.nics) if (nic is None): raise NicNotFound(('Node [%s] does not have a bootable NIC' % node.name)) if (hardwareprofile is None): hardwareprofile = node.hardwareprofile if (softwareprofile is None): softwareprofile = node.softwareprofile bootParams = getBootParameters(hardwareprofile, softwareprofile) kernel = bootParams['kernel'] kernelParams = bootParams['kernelParams'] initrd = bootParams['initrd'] bootargs = [] if (softwareprofile.os.family.version == '7'): bootargs.append(('inst.ks=%s ip=%s:dhcp' % (ksurl, nic.networkdevice.name))) else: bootargs.append(('ks=%s' % ksurl)) bootargs.append(('ksdevice=%s' % nic.networkdevice.name)) if kernelParams: bootargs.append(kernelParams) result = (' kernel %s\n append initrd=%s %s' % (kernel, initrd, ' '.join(bootargs))) return result
def getPXEReinstallSnippet(self, ksurl: str, node: Node, hardwareprofile: Optional[HardwareProfile]=None, softwareprofile: Optional[SoftwareProfile]=None) -> str: '\n Raises:\n NicNotFound\n ' nic = get_provisioning_nic(node.nics) if (nic is None): raise NicNotFound(('Node [%s] does not have a bootable NIC' % node.name)) if (hardwareprofile is None): hardwareprofile = node.hardwareprofile if (softwareprofile is None): softwareprofile = node.softwareprofile bootParams = getBootParameters(hardwareprofile, softwareprofile) kernel = bootParams['kernel'] kernelParams = bootParams['kernelParams'] initrd = bootParams['initrd'] bootargs = [] if (softwareprofile.os.family.version == '7'): bootargs.append(('inst.ks=%s ip=%s:dhcp' % (ksurl, nic.networkdevice.name))) else: bootargs.append(('ks=%s' % ksurl)) bootargs.append(('ksdevice=%s' % nic.networkdevice.name)) if kernelParams: bootargs.append(kernelParams) result = (' kernel %s\n append initrd=%s %s' % (kernel, initrd, ' '.join(bootargs))) return result<|docstring|>Raises: NicNotFound<|endoftext|>