query
stringlengths
9
9.05k
document
stringlengths
10
222k
negatives
listlengths
19
20
metadata
dict
Obtain the value of disable_ahub.
def get_disable_ahub(self) -> bool: return self._get_disable_ahub(enable_validation=True)
[ "def _get_disable_ahub(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n disable_ahub = self.raw_param.get(\"disable_ahub\")\n # We do not support this option in create mode, therefore we do not read the value from `mc`.\n\n # this parame...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_windows_gmsa. This function supports the option of enable_validation. Please refer to function __validate_gmsa_options for details of validation.
def _get_enable_windows_gmsa(self, enable_validation: bool = False) -> bool: # read the original value passed by the command enable_windows_gmsa = self.raw_param.get("enable_windows_gmsa") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. ...
[ "def __validate_gmsa_options(\n self,\n enable_windows_gmsa,\n gmsa_dns_server,\n gmsa_root_domain_name,\n yes,\n ) -> None:\n if enable_windows_gmsa:\n if gmsa_dns_server is None and gmsa_root_domain_name is None:\n msg = (\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the values of gmsa_dns_server and gmsa_root_domain_name. This function supports the option of enable_validation. Please refer to function __validate_gmsa_options for details of validation.
def _get_gmsa_dns_server_and_root_domain_name(self, enable_validation: bool = False): # gmsa_dns_server # read the original value passed by the command gmsa_dns_server = self.raw_param.get("gmsa_dns_server") # In create mode, try to read the property value corresponding to the parameter ...
[ "def __validate_gmsa_options(\n self,\n enable_windows_gmsa,\n gmsa_dns_server,\n gmsa_root_domain_name,\n yes,\n ) -> None:\n if enable_windows_gmsa:\n if gmsa_dns_server is None and gmsa_root_domain_name is None:\n msg = (\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to dynamically obtain the values of service_principal and client_secret according to the context. This function supports the option of enable_validation. This function supports the option of read_only. When enabled, it will skip dynamic completion and validation.
def _get_service_principal_and_client_secret( self, enable_validation: bool = False, read_only: bool = False ) -> Tuple[Union[str, None], Union[str, None]]: # service_principal # read the original value passed by the command service_principal = self.raw_param.get("service_principal")...
[ "def get_service_principal_and_client_secret(\n self\n ) -> Tuple[Union[str, None], Union[str, None]]:\n return self._get_service_principal_and_client_secret(enable_validation=True)", "def _obtain_service_account_creds(self) -> service_account.Credentials:\n credentials_json = self._raw_cr...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Dynamically obtain the values of service_principal and client_secret according to the context.
def get_service_principal_and_client_secret( self ) -> Tuple[Union[str, None], Union[str, None]]: return self._get_service_principal_and_client_secret(enable_validation=True)
[ "def devpiserver_get_identity(request, credentials):", "def client_tokens(self):\n client_id, client_secret = self.get_auth_basic()\n\n if not client_id:\n client_id = self.query_kwargs.get('client_id', '')\n if not client_id:\n client_id = self.body_kwargs.get('...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of skip_subnet_role_assignment.
def get_skip_subnet_role_assignment(self) -> bool: # read the original value passed by the command skip_subnet_role_assignment = self.raw_param.get("skip_subnet_role_assignment") # this parameter does not need dynamic completion # this parameter does not need validation return s...
[ "def role_arn(self) -> pulumi.Output[Optional[str]]:\n return pulumi.get(self, \"role_arn\")", "def excluded_roles(self) -> Optional[Sequence[str]]:\n return pulumi.get(self, \"excluded_roles\")", "def get_role(self):\n\t\treturn self.role", "def role_arn(self) -> str:\n return pulumi.get...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of assign_identity. This function supports the option of enable_validation. When enabled, if enable_managed_identity is not specified and assign_identity is assigned, a RequiredArgumentMissingError will be raised. Besides, if assign_identity is not assigned but assign_kubelet_ident...
def _get_assign_identity(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command assign_identity = self.raw_param.get("assign_identity") # In create mode, try to read the property value corresponding to the parameter from the `mc` object ...
[ "def _get_assign_kubelet_identity(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n assign_kubelet_identity = self.raw_param.get(\"assign_kubelet_identity\")\n # In create mode, try to read the property value corresponding to the par...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Helper function to obtain the identity object by msi client.
def get_identity_by_msi_client(self, assigned_identity: str) -> Identity: return self.external_functions.get_user_assigned_identity_by_resource_id(self.cmd.cli_ctx, assigned_identity)
[ "async def client_identity(self) -> Identity:\n raise NotImplementedError", "def test_get_client_identity(self):\n client_certificate = build_certificate([u'Test Identity'])\n der_encoding = client_certificate.public_bytes(\n serialization.Encoding.DER\n )\n\n kmip_se...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Helper function to obtain the client_id of user assigned identity.
def get_user_assigned_identity_client_id(self, user_assigned_identity=None) -> str: assigned_identity = user_assigned_identity if user_assigned_identity else self.get_assign_identity() if assigned_identity is None or assigned_identity == "": raise RequiredArgumentMissingError("No assigned id...
[ "def acr_user_managed_identity_client_id(self) -> Optional[str]:\n return pulumi.get(self, \"acr_user_managed_identity_client_id\")", "def acr_user_managed_identity_client_id(self) -> str:\n return pulumi.get(self, \"acr_user_managed_identity_client_id\")", "def client_id(self) -> str:\n re...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of attach_acr.
def get_attach_acr(self) -> Union[str, None]: # read the original value passed by the command attach_acr = self.raw_param.get("attach_acr") # this parameter does not need dynamic completion # validation if self.decorator_mode == DecoratorMode.CREATE and attach_acr: i...
[ "def get_detach_acr(self) -> Union[str, None]:\n # read the original value passed by the command\n detach_acr = self.raw_param.get(\"detach_acr\")\n\n # this parameter does not need dynamic completion\n # this parameter does not need validation\n return detach_acr", "def getAcqu...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of detach_acr.
def get_detach_acr(self) -> Union[str, None]: # read the original value passed by the command detach_acr = self.raw_param.get("detach_acr") # this parameter does not need dynamic completion # this parameter does not need validation return detach_acr
[ "def get_attach_acr(self) -> Union[str, None]:\n # read the original value passed by the command\n attach_acr = self.raw_param.get(\"attach_acr\")\n\n # this parameter does not need dynamic completion\n # validation\n if self.decorator_mode == DecoratorMode.CREATE and attach_acr:\...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Helper function to obtain the value of assignee from identity_profile or service_principal_profile.
def get_assignee_from_identity_or_sp_profile(self) -> Tuple[str, bool]: assignee = None is_service_principal = False if check_is_msi_cluster(self.mc): if self.mc.identity_profile is None or self.mc.identity_profile["kubeletidentity"] is None: raise UnknownError( ...
[ "def assignee(self):\n return self._github_issue.assignees[0].login", "def assignee(self):\n membership = UnitMembershipFactory(unit=self.unit)\n return membership.user", "def get_assignee_email(self, assignee_id):\n response = self.http_call(\"{0}/users/{1}.json\".format(self.uri, a...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of load_balancer_sku, default value is CONST_LOAD_BALANCER_SKU_STANDARD.
def _get_load_balancer_sku(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command load_balancer_sku = safe_lower(self.raw_param.get("load_balancer_sku", CONST_LOAD_BALANCER_SKU_STANDARD)) # try to read the property value corresponding to the p...
[ "def get_load_balancer_sku(self) -> Union[str, None]:\n return safe_lower(self._get_load_balancer_sku(enable_validation=True))", "def sku(self) -> str:\n return pulumi.get(self, \"sku\")", "def sku(self):\n return self._sku", "def sku(self) -> Optional['outputs.StorageAccountSpecSku']:\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of load_balancer_sku, default value is CONST_LOAD_BALANCER_SKU_STANDARD.
def get_load_balancer_sku(self) -> Union[str, None]: return safe_lower(self._get_load_balancer_sku(enable_validation=True))
[ "def _get_load_balancer_sku(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n load_balancer_sku = safe_lower(self.raw_param.get(\"load_balancer_sku\", CONST_LOAD_BALANCER_SKU_STANDARD))\n # try to read the property value correspondin...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of load_balancer_managed_outbound_ip_count.
def get_load_balancer_managed_outbound_ip_count(self) -> Union[int, None]: # read the original value passed by the command load_balancer_managed_outbound_ip_count = self.raw_param.get( "load_balancer_managed_outbound_ip_count" ) # In create mode, try to read the property valu...
[ "def get_load_balancer_managed_outbound_ipv6_count(self) -> Union[int, None]:\n count_ipv6 = self.raw_param.get('load_balancer_managed_outbound_ipv6_count')\n\n if self.decorator_mode == DecoratorMode.CREATE:\n if (\n self.mc and\n self.mc.network_profile and\n...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the expected count of IPv6 managed outbound IPs.
def get_load_balancer_managed_outbound_ipv6_count(self) -> Union[int, None]: count_ipv6 = self.raw_param.get('load_balancer_managed_outbound_ipv6_count') if self.decorator_mode == DecoratorMode.CREATE: if ( self.mc and self.mc.network_profile and ...
[ "def NumberOfMappingIPV6Ranges(self):\r\n\t\treturn self._get_attribute('numberOfMappingIPV6Ranges')", "def nexthop_ip_count():\n db = db_connect()\n return(len(db.bgp.distinct('nexthop')))", "def test_is_ipv6(self):\n\n expected = True\n\n for given_ip in pyf_test_dataset.VALID_IPV6:\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of load_balancer_outbound_ips.
def get_load_balancer_outbound_ips(self) -> Union[str, List[ResourceReference], None]: # read the original value passed by the command load_balancer_outbound_ips = self.raw_param.get( "load_balancer_outbound_ips" ) # In create mode, try to read the property value correspondin...
[ "def outbound_ips(self) -> Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPsArgs']]:\n return pulumi.get(self, \"outbound_ips\")", "def _get_load_balancer_outbound_ips(load_balancer_outbound_ips, models):\n load_balancer_outbound_ip_resources = None\n if isinstance(models, SimpleNam...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of load_balancer_outbound_ip_prefixes.
def get_load_balancer_outbound_ip_prefixes(self) -> Union[str, List[ResourceReference], None]: # read the original value passed by the command load_balancer_outbound_ip_prefixes = self.raw_param.get( "load_balancer_outbound_ip_prefixes" ) # In create mode, try to read the pro...
[ "def outbound_ip_prefixes(self) -> Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs']]:\n return pulumi.get(self, \"outbound_ip_prefixes\")", "def _get_load_balancer_outbound_ip_prefixes(load_balancer_outbound_ip_prefixes, models):\n load_balancer_outbound_ip_prefix_resourc...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of load_balancer_outbound_ports.
def get_load_balancer_outbound_ports(self) -> Union[int, None]: # read the original value passed by the command load_balancer_outbound_ports = self.raw_param.get( "load_balancer_outbound_ports" ) # In create mode, try to read the property value corresponding to the parameter ...
[ "def get_load_balancer_outbound_ips(self) -> Union[str, List[ResourceReference], None]:\n # read the original value passed by the command\n load_balancer_outbound_ips = self.raw_param.get(\n \"load_balancer_outbound_ips\"\n )\n # In create mode, try to read the property value ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of load_balancer_idle_timeout.
def get_load_balancer_idle_timeout(self) -> Union[int, None]: # read the original value passed by the command load_balancer_idle_timeout = self.raw_param.get( "load_balancer_idle_timeout" ) # In create mode, try to read the property value corresponding to the parameter from t...
[ "def IdleTimeout(self):\n if self.force_auto_sync:\n self.get('IdleTimeout')\n return self._IdleTimeout", "def idle_timeout_in_minutes(self) -> pulumi.Output[Optional[int]]:\n return pulumi.get(self, \"idle_timeout_in_minutes\")", "def idle_timeout(self) -> Optional[pulumi.Input[...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of nat_gateway_managed_outbound_ip_count.
def get_nat_gateway_managed_outbound_ip_count(self) -> Union[int, None]: # read the original value passed by the command nat_gateway_managed_outbound_ip_count = self.raw_param.get("nat_gateway_managed_outbound_ip_count") # In create mode, try to read the property value corresponding to the param...
[ "def get_load_balancer_managed_outbound_ip_count(self) -> Union[int, None]:\n # read the original value passed by the command\n load_balancer_managed_outbound_ip_count = self.raw_param.get(\n \"load_balancer_managed_outbound_ip_count\"\n )\n # In create mode, try to read the p...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of nat_gateway_idle_timeout.
def get_nat_gateway_idle_timeout(self) -> Union[int, None]: # read the original value passed by the command nat_gateway_idle_timeout = self.raw_param.get("nat_gateway_idle_timeout") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. if s...
[ "def IdleTimeout(self):\n if self.force_auto_sync:\n self.get('IdleTimeout')\n return self._IdleTimeout", "def idle_timeout_in_minutes(self) -> pulumi.Output[Optional[int]]:\n return pulumi.get(self, \"idle_timeout_in_minutes\")", "def idle_timeout(self) -> Optional[pulumi.Input[...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of ip_families.
def get_ip_families(self) -> Union[List[str], None]: # read the original value passed by the command ip_families = self.raw_param.get("ip_families") # normalize ip_families = extract_comma_separated_string(ip_families, keep_none=True, default_value=[]) # try to read the property ...
[ "def ip_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'IpFamily']]]]]:\n return pulumi.get(self, \"ip_families\")", "def list_families(self):\n return self.__make_api_call('list/families')", "def get_families(instance):\n families = instance.data.get(\"families\", [])...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of network_plugin_mode.
def get_network_plugin_mode(self) -> Union[str, None]: return self._get_network_plugin_mode(enable_validation=True)
[ "def network_plugin_mode(self) -> Optional[pulumi.Input[Union[str, 'NetworkPluginMode']]]:\n return pulumi.get(self, \"network_plugin_mode\")", "def _GetNetworkMode(network):\n if network.get('IPv4Range', None) is not None:\n return 'legacy'\n if network.get('autoCreateSubnetworks', False):\n retur...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of network_plugin.
def get_network_plugin(self) -> Union[str, None]: return self._get_network_plugin(enable_validation=True)
[ "def network_plugin_mode(self) -> Optional[pulumi.Input[Union[str, 'NetworkPluginMode']]]:\n return pulumi.get(self, \"network_plugin_mode\")", "def get_network_plugin_mode(self) -> Union[str, None]:\n return self._get_network_plugin_mode(enable_validation=True)", "def get_network(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Get the value of network_dataplane.
def get_network_dataplane(self) -> Union[str, None]: return self.raw_param.get("network_dataplane")
[ "def network_dataplane(self) -> Optional[pulumi.Input[Union[str, 'NetworkDataplane']]]:\n return pulumi.get(self, \"network_dataplane\")", "def get_network_data(self):\n node_info = self.get_info()\n return node_info.get('network_data')", "def get_dataplane_state(self, path, params):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of pod_cidr, service_cidr, dns_service_ip, docker_bridge_address and network_policy.
def _get_pod_cidr_and_service_cidr_and_dns_service_ip_and_docker_bridge_address_and_network_policy( self, enable_validation: bool = False ) -> Tuple[ Union[str, None], Union[str, None], Union[str, None], Union[str, None], Union[str, None], ]: # get network...
[ "def get_pod_cidr_and_service_cidr_and_dns_service_ip_and_docker_bridge_address_and_network_policy(\n self,\n ) -> Tuple[\n Union[str, None],\n Union[str, None],\n Union[str, None],\n Union[str, None],\n Union[str, None],\n ]:\n return self._get_pod_cidr_and_se...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of pod_cidr, service_cidr, dns_service_ip, docker_bridge_address and network_policy.
def get_pod_cidr_and_service_cidr_and_dns_service_ip_and_docker_bridge_address_and_network_policy( self, ) -> Tuple[ Union[str, None], Union[str, None], Union[str, None], Union[str, None], Union[str, None], ]: return self._get_pod_cidr_and_service_cidr_and...
[ "def _get_pod_cidr_and_service_cidr_and_dns_service_ip_and_docker_bridge_address_and_network_policy(\n self, enable_validation: bool = False\n ) -> Tuple[\n Union[str, None],\n Union[str, None],\n Union[str, None],\n Union[str, None],\n Union[str, None],\n ]:\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Helper function to obtain the constants used by addons.
def get_addon_consts(self) -> Dict[str, str]: from azure.cli.command_modules.acs._consts import ( ADDONS, CONST_ACC_SGX_QUOTE_HELPER_ENABLED, CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME, CONST_AZURE_POLICY_ADDON_NAME, CONST_CONFCOM_ADDON_NAME, CONST_HTTP_APPL...
[ "def _constants(self):", "def _get_global_constants(self) -> None:\n pass", "def get_consts(self):\n consts = []\n for key in self.constants:\n consts.append({\n 'key': key,\n 'value': self.constants[key],\n })\n return consts", "def getConstants():\n \n o...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_addons.
def _get_enable_addons(self, enable_validation: bool = False) -> List[str]: # determine the value of constants addon_consts = self.get_addon_consts() valid_addon_keys = addon_consts.get("ADDONS").keys() # read the original value passed by the command enable_addons = self.raw_par...
[ "def get_enable_addons(self) -> List[str]:\n\n return self._get_enable_addons(enable_validation=True)", "def addons_config(self) -> 'outputs.AddonsConfigResponse':\n return pulumi.get(self, \"addons_config\")", "def list_addons(self):\n return list(self.addons.values())", "async def get_a...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_addons.
def get_enable_addons(self) -> List[str]: return self._get_enable_addons(enable_validation=True)
[ "def addons_config(self) -> 'outputs.AddonsConfigResponse':\n return pulumi.get(self, \"addons_config\")", "def _get_enable_addons(self, enable_validation: bool = False) -> List[str]:\n # determine the value of constants\n addon_consts = self.get_addon_consts()\n valid_addon_keys = add...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to dynamically obtain the value of workspace_resource_id according to the context. When workspace_resource_id is not assigned, dynamic completion will be triggerd. Function "ensure_default_log_analytics_workspace_for_monitoring" will be called to create a workspace with subscription_id and resource_gr...
def _get_workspace_resource_id( self, enable_validation: bool = False, read_only: bool = False ) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_MONITORING_ADDON_NAME = addon_consts.get("CONST_MONITORING_ADDON_NAME") CONST_...
[ "def log_analytics_workspace_resource_id(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"log_analytics_workspace_resource_id\")", "def get_workspace_resource_id(self) -> Union[str, None]:\n return self._get_workspace_resource_id(enable_validation=True)", "def workspace_resource_i...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Dynamically obtain the value of workspace_resource_id according to the context. When workspace_resource_id is not assigned, dynamic completion will be triggerd. Function "ensure_default_log_analytics_workspace_for_monitoring" will be called to create a workspace with subscription_id and resource_group_name, which inter...
def get_workspace_resource_id(self) -> Union[str, None]: return self._get_workspace_resource_id(enable_validation=True)
[ "def log_analytics_workspace_resource_id(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"log_analytics_workspace_resource_id\")", "def workspace_resource_id(self) -> Optional[str]:\n return pulumi.get(self, \"workspace_resource_id\")", "def _get_workspace_resource_id(\n se...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_msi_auth_for_monitoring.
def get_enable_msi_auth_for_monitoring(self) -> Union[bool, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_MONITORING_ADDON_NAME = addon_consts.get("CONST_MONITORING_ADDON_NAME") CONST_MONITORING_USING_AAD_MSI_AUTH = addon_consts.get("CONST_MONITOR...
[ "def _GetEnableOsLoginValue(self, metadata_dict):\n instance_data, project_data = self._GetInstanceAndProjectAttributes(\n metadata_dict)\n instance_value = instance_data.get('enable-oslogin')\n project_value = project_data.get('enable-oslogin')\n value = instance_value or project_value or ''\n\n...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_syslog.
def get_enable_syslog(self) -> Union[bool, None]: # read the original value passed by the command enable_syslog = self.raw_param.get("enable_syslog") # this parameter does not need dynamic completion # this parameter does not need validation return enable_syslog
[ "def syslog_facility(self):\n self._get()\n return self._syslog_facility", "def syslog_server(self):\n self._get()\n return self._syslog_server", "def syslog_port(self):\n self._get()\n return self._syslog_port", "def syslog_ident(self):\n self._get()\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of data_collection_settings.
def get_data_collection_settings(self) -> Union[str, None]: # read the original value passed by the command data_collection_settings_file_path = self.raw_param.get("data_collection_settings") # validate user input if data_collection_settings_file_path: if not os.path.isfile(d...
[ "def get_settings(self):\n return self.__settings", "def get_settings(self):\n return self.settings", "def get_setting_value(self, title, setting):\r\n return self.parser.get(title, setting)", "def get_setting(self, name):\n\n cursor = self.db.cursor()\n cursor.execute(\"SEL...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Helper function to obtain the os_type of virtual node addon.
def get_virtual_node_addon_os_type(self) -> str: return "Linux"
[ "def get_os_type(self):\n\t\treturn call_sdk_function('PrlVmCfg_GetOsType', self.handle)", "def os_type(self) -> Optional[str]:\n return pulumi.get(self, \"os_type\")", "def get_host_os_type(self):\n\t\treturn call_sdk_function('PrlSrvCfg_GetHostOsType', self.handle)", "def os_type(self):\n retu...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of aci_subnet_name.
def get_aci_subnet_name(self) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_VIRTUAL_NODE_ADDON_NAME = addon_consts.get("CONST_VIRTUAL_NODE_ADDON_NAME") CONST_VIRTUAL_NODE_SUBNET_NAME = addon_consts.get("CONST_VIRTUAL_NODE_SUBNET_NAME...
[ "def subnet_name(self) -> str:\n return pulumi.get(self, \"subnet_name\")", "def subnet_name(self):\n return self._subnet_name", "def subnet(self) -> str:\n return self.params.get(\"subnet\")", "def subnet_group_name(self) -> pulumi.Output[str]:\n return pulumi.get(self, \"subnet_g...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of appgw_name.
def get_appgw_name(self) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_INGRESS_APPGW_ADDON_NAME = addon_consts.get("CONST_INGRESS_APPGW_ADDON_NAME") CONST_INGRESS_APPGW_APPLICATION_GATEWAY_NAME = addon_consts.get( "CONST_...
[ "def _get_app_name(app):\n return app[APP_NAME_KEY]", "def get_appgw_id(self) -> Union[str, None]:\n # determine the value of constants\n addon_consts = self.get_addon_consts()\n CONST_INGRESS_APPGW_ADDON_NAME = addon_consts.get(\"CONST_INGRESS_APPGW_ADDON_NAME\")\n CONST_INGRESS_AP...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of appgw_subnet_cidr.
def get_appgw_subnet_cidr(self) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_INGRESS_APPGW_ADDON_NAME = addon_consts.get("CONST_INGRESS_APPGW_ADDON_NAME") CONST_INGRESS_APPGW_SUBNET_CIDR = addon_consts.get("CONST_INGRESS_APPGW_SUBNE...
[ "def subnet_cidr(self):\n return self._subnet_cidr", "def network_subnet_cidr(self) -> str:\n return pulumi.get(self, \"network_subnet_cidr\")", "def vip_subnet_cidr_id(self):\n return self._vip_subnet_cidr_id", "def get_appgw_subnet_id(self) -> Union[str, None]:\n # determine the ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of appgw_id.
def get_appgw_id(self) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_INGRESS_APPGW_ADDON_NAME = addon_consts.get("CONST_INGRESS_APPGW_ADDON_NAME") CONST_INGRESS_APPGW_APPLICATION_GATEWAY_ID = addon_consts.get("CONST_INGRESS_APPGW_APP...
[ "def app_id(self):\n return self._app_id", "def app_id(self) -> str:\n return pulumi.get(self, \"app_id\")", "def appid(self):\n return self._item[\"appid\"]", "def app_id(self) -> str:\n return self._app_id", "def get_appgw_name(self) -> Union[str, None]:\n # determine th...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of appgw_subnet_id.
def get_appgw_subnet_id(self) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_INGRESS_APPGW_ADDON_NAME = addon_consts.get("CONST_INGRESS_APPGW_ADDON_NAME") CONST_INGRESS_APPGW_SUBNET_ID = addon_consts.get("CONST_INGRESS_APPGW_SUBNET_ID...
[ "def app_subnet_id(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"app_subnet_id\")", "def subnet_id(self) -> str:\n return pulumi.get(self, \"subnet_id\")", "def subnet_id(self):\n return self._subnet_id", "def runtime_subnet_id(self) -> Optional[str]:\n return p...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of appgw_watch_namespace.
def get_appgw_watch_namespace(self) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_INGRESS_APPGW_ADDON_NAME = addon_consts.get("CONST_INGRESS_APPGW_ADDON_NAME") CONST_INGRESS_APPGW_WATCH_NAMESPACE = addon_consts.get("CONST_INGRESS_APP...
[ "def get_namespace(self) -> str:\n return self._namespace", "def metric_namespace(self) -> str:\n return self._values.get('metric_namespace')", "def namespace(self) -> str:\n return pulumi.get(self, \"namespace\")", "def namespace() -> str:\n with open(K8sServicePatch.namespace_fil...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_sgxquotehelper.
def get_enable_sgxquotehelper(self) -> bool: # determine the value of constants addon_consts = self.get_addon_consts() CONST_CONFCOM_ADDON_NAME = addon_consts.get("CONST_CONFCOM_ADDON_NAME") CONST_ACC_SGX_QUOTE_HELPER_ENABLED = addon_consts.get("CONST_ACC_SGX_QUOTE_HELPER_ENABLED") ...
[ "def include_quote(self) -> Optional[bool]:\n return pulumi.get(self, \"include_quote\")", "def get_quotes(self):\n # However ignore the 'true' autodetection setting.\n jscs_quotes = self.jscs_options.get('validateQuoteMarks')\n if isinstance(jscs_quotes, dict):\n jscs_quote...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_secret_rotation. This function supports the option of enable_validation. When enabled, in update mode, if enable_secret_rotation is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised.
def _get_enable_secret_rotation(self, enable_validation: bool = False) -> bool: # determine the value of constants addon_consts = self.get_addon_consts() CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME = addon_consts.get( "CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME" ) ...
[ "def _get_disable_secret_rotation(self, enable_validation: bool = False) -> bool:\n # determine the value of constants\n addon_consts = self.get_addon_consts()\n CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME = addon_consts.get(\n \"CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME\...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of disable_secret_rotation. This function supports the option of enable_validation. When enabled, in update mode, if disable_secret_rotation is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised.
def _get_disable_secret_rotation(self, enable_validation: bool = False) -> bool: # determine the value of constants addon_consts = self.get_addon_consts() CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME = addon_consts.get( "CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME" )...
[ "def get_disable_secret_rotation(self) -> bool:\n return self._get_disable_secret_rotation(enable_validation=True)", "def _get_enable_secret_rotation(self, enable_validation: bool = False) -> bool:\n # determine the value of constants\n addon_consts = self.get_addon_consts()\n CONST_AZ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of disable_secret_rotation. This function will verify the parameter by default. In update mode, if disable_secret_rotation is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised.
def get_disable_secret_rotation(self) -> bool: return self._get_disable_secret_rotation(enable_validation=True)
[ "def _get_disable_secret_rotation(self, enable_validation: bool = False) -> bool:\n # determine the value of constants\n addon_consts = self.get_addon_consts()\n CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME = addon_consts.get(\n \"CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME\...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of rotation_poll_interval. This function supports the option of enable_validation. When enabled, in update mode, if rotation_poll_interval is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised.
def _get_rotation_poll_interval(self, enable_validation: bool = False) -> Union[str, None]: # determine the value of constants addon_consts = self.get_addon_consts() CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME = addon_consts.get( "CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME...
[ "def get_rotation_poll_interval(self) -> Union[str, None]:\n return self._get_rotation_poll_interval(enable_validation=True)", "def polling_interval(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"polling_interval\")", "def reminder_interval(self) -> Optional[pulumi.Input[int]]:\...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of rotation_poll_interval. This function will verify the parameter by default. In update mode, if rotation_poll_interval is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised.
def get_rotation_poll_interval(self) -> Union[str, None]: return self._get_rotation_poll_interval(enable_validation=True)
[ "def _get_rotation_poll_interval(self, enable_validation: bool = False) -> Union[str, None]:\n # determine the value of constants\n addon_consts = self.get_addon_consts()\n CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME = addon_consts.get(\n \"CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_aad. This function supports the option of enable_validation. When enabled, in create mode, if the value of enable_aad is True and any of aad_client_app_id, aad_server_app_id or aad_server_app_secret is asssigned, a MutuallyExclusiveArgumentError will be raised. If the val...
def _get_enable_aad(self, enable_validation: bool = False) -> bool: # read the original value passed by the command enable_aad = self.raw_param.get("enable_aad") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. if self.decorator_mode =...
[ "def get_enable_aad(self) -> bool:\n\n return self._get_enable_aad(enable_validation=True)", "def _get_enable_azure_rbac(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_azure_rbac = self.raw_param.get(\"enable_azure_rbac\")\n #...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_aad. This function will verify the parameter by default. In create mode, if the value of enable_aad is True and any of aad_client_app_id, aad_server_app_id or aad_server_app_secret is asssigned, a MutuallyExclusiveArgumentError will be raised. If the value of enable_aad is False and the value...
def get_enable_aad(self) -> bool: return self._get_enable_aad(enable_validation=True)
[ "def _get_enable_aad(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_aad = self.raw_param.get(\"enable_aad\")\n # In create mode, try to read the property value corresponding to the parameter from the `mc` object.\n if self.decor...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of aad_client_app_id, aad_server_app_id and aad_server_app_secret. This function supports the option of enable_validation. When enabled, if the value of enable_aad is True and any of aad_client_app_id, aad_server_app_id or aad_server_app_secret is asssigned, a MutuallyExclusiveArgu...
def _get_aad_client_app_id_and_aad_server_app_id_and_aad_server_app_secret( self, enable_validation: bool = False ) -> Tuple[Union[str, None], Union[str, None], Union[str, None]]: # get aad profile from `mc` aad_profile = None if self.mc: aad_profile = self.mc.aad_profile...
[ "def get_aad_client_app_id_and_aad_server_app_id_and_aad_server_app_secret(\n self,\n ) -> Tuple[Union[str, None], Union[str, None], Union[str, None]]:\n return self._get_aad_client_app_id_and_aad_server_app_id_and_aad_server_app_secret(enable_validation=True)", "def _get_enable_aad(self, enable_...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of aad_client_app_id, aad_server_app_id and aad_server_app_secret. This function will verify the parameters by default. If the value of enable_aad is True and any of aad_client_app_id, aad_server_app_id or aad_server_app_secret is asssigned, a MutuallyExclusiveArgumentError will be raised.
def get_aad_client_app_id_and_aad_server_app_id_and_aad_server_app_secret( self, ) -> Tuple[Union[str, None], Union[str, None], Union[str, None]]: return self._get_aad_client_app_id_and_aad_server_app_id_and_aad_server_app_secret(enable_validation=True)
[ "def _get_aad_client_app_id_and_aad_server_app_id_and_aad_server_app_secret(\n self, enable_validation: bool = False\n ) -> Tuple[Union[str, None], Union[str, None], Union[str, None]]:\n # get aad profile from `mc`\n aad_profile = None\n if self.mc:\n aad_profile = self.mc....
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of aad_admin_group_object_ids. This function supports the option of enable_validation. When enabled in update mode, if aad_admin_group_object_ids is specified, while aad_profile is not set or managed aad is not enabled, raise an InvalidArgumentValueError. This function will normali...
def _get_aad_admin_group_object_ids(self, enable_validation: bool = False) -> Union[List[str], None]: # read the original value passed by the command aad_admin_group_object_ids = self.raw_param.get("aad_admin_group_object_ids") # In create mode, try to read the property value corresponding to th...
[ "def get_aad_admin_group_object_ids(self) -> Union[List[str], None]:\n return self._get_aad_admin_group_object_ids(enable_validation=True)", "def admin_group_object_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:\n return pulumi.get(self, \"admin_group_object_ids\")", "def getAdGroupIds(se...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of aad_admin_group_object_ids. This function will verify the parameter by default. In update mode, if aad_admin_group_object_ids is specified, while aad_profile is not set or managed aad is not enabled, raise an InvalidArgumentValueError. This function will normalize the parameter by default. It will s...
def get_aad_admin_group_object_ids(self) -> Union[List[str], None]: return self._get_aad_admin_group_object_ids(enable_validation=True)
[ "def _get_aad_admin_group_object_ids(self, enable_validation: bool = False) -> Union[List[str], None]:\n # read the original value passed by the command\n aad_admin_group_object_ids = self.raw_param.get(\"aad_admin_group_object_ids\")\n # In create mode, try to read the property value correspon...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of disable_rbac. This function supports the option of enable_validation. When enabled, if the values of disable_rbac and enable_azure_rbac are both True, a MutuallyExclusiveArgumentError will be raised. Besides, if the values of enable_rbac and disable_rbac are both True, a Mutuall...
def _get_disable_rbac(self, enable_validation: bool = False) -> Union[bool, None]: # read the original value passed by the command disable_rbac = self.raw_param.get("disable_rbac") # try to read the property value corresponding to the parameter from the `mc` object if ( self....
[ "def _get_disable_azure_rbac(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n disable_azure_rbac = self.raw_param.get(\"disable_azure_rbac\")\n # We do not support this option in create mode, therefore we do not read the value from `mc`.\n\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of disable_rbac. This function will verify the parameter by default. If the values of disable_rbac and enable_azure_rbac are both True, a MutuallyExclusiveArgumentError will be raised. Besides, if the values of enable_rbac and disable_rbac are both True, a MutuallyExclusiveArgumentError will be raised.
def get_disable_rbac(self) -> Union[bool, None]: return self._get_disable_rbac(enable_validation=True)
[ "def _get_disable_rbac(self, enable_validation: bool = False) -> Union[bool, None]:\n # read the original value passed by the command\n disable_rbac = self.raw_param.get(\"disable_rbac\")\n # try to read the property value corresponding to the parameter from the `mc` object\n if (\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_rbac. This function supports the option of enable_validation. When enabled, if the values of enable_rbac and disable_rbac are both True, a MutuallyExclusiveArgumentError will be raised.
def _get_enable_rbac(self, enable_validation: bool = False) -> Union[bool, None]: # read the original value passed by the command enable_rbac = self.raw_param.get("enable_rbac") # try to read the property value corresponding to the parameter from the `mc` object if ( self.mc ...
[ "def get_enable_rbac(self) -> Union[bool, None]:\n return self._get_enable_rbac(enable_validation=True)", "def _get_enable_azure_rbac(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_azure_rbac = self.raw_param.get(\"enable_azure_rbac\...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_rbac. This function will verify the parameter by default. If the values of enable_rbac and disable_rbac are both True, a MutuallyExclusiveArgumentError will be raised.
def get_enable_rbac(self) -> Union[bool, None]: return self._get_enable_rbac(enable_validation=True)
[ "def _get_enable_rbac(self, enable_validation: bool = False) -> Union[bool, None]:\n # read the original value passed by the command\n enable_rbac = self.raw_param.get(\"enable_rbac\")\n # try to read the property value corresponding to the parameter from the `mc` object\n if (\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_azure_rbac. This function supports the option of enable_validation. When enabled and enable_azure_rbac is specified, in create mode, if the value of enable_aad is not True, a RequiredArgumentMissingError will be raised. If disable_rbac is specified, a MutuallyExclusiveArg...
def _get_enable_azure_rbac(self, enable_validation: bool = False) -> bool: # read the original value passed by the command enable_azure_rbac = self.raw_param.get("enable_azure_rbac") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. if ...
[ "def enable_azure_rbac(self) -> Optional[pulumi.Input[bool]]:\n return pulumi.get(self, \"enable_azure_rbac\")", "def _get_enable_rbac(self, enable_validation: bool = False) -> Union[bool, None]:\n # read the original value passed by the command\n enable_rbac = self.raw_param.get(\"enable_rba...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of disable_azure_rbac. This function supports the option of enable_validation. When enabled, in update mode, if disable_azure_rbac is specified, while aad_profile is not set or managed aad is not enabled, raise an InvalidArgumentValueError. If both disable_azure_rbac and enable_azu...
def _get_disable_azure_rbac(self, enable_validation: bool = False) -> bool: # read the original value passed by the command disable_azure_rbac = self.raw_param.get("disable_azure_rbac") # We do not support this option in create mode, therefore we do not read the value from `mc`. # this ...
[ "def get_disable_azure_rbac(self) -> bool:\n return self._get_disable_azure_rbac(enable_validation=True)", "def _get_disable_rbac(self, enable_validation: bool = False) -> Union[bool, None]:\n # read the original value passed by the command\n disable_rbac = self.raw_param.get(\"disable_rbac\"...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of disable_azure_rbac. This function will verify the parameter by default. In update mode, if disable_azure_rbac is specified, while aad_profile is not set or managed aad is not enabled, raise an InvalidArgumentValueError. If both disable_azure_rbac and enable_azure_rbac are specified, raise a Mutually...
def get_disable_azure_rbac(self) -> bool: return self._get_disable_azure_rbac(enable_validation=True)
[ "def _get_disable_azure_rbac(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n disable_azure_rbac = self.raw_param.get(\"disable_azure_rbac\")\n # We do not support this option in create mode, therefore we do not read the value from `mc`.\n\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of oidc_issuer_profile based on the user input.
def get_oidc_issuer_profile(self) -> ManagedClusterOIDCIssuerProfile: enable_flag_value = bool(self.raw_param.get("enable_oidc_issuer")) if not enable_flag_value: # enable flag not set, return a None profile, server side will backfill the default/existing value return None ...
[ "def oidc_issuer_url(self) -> pulumi.Output[str]:\n return pulumi.get(self, \"oidc_issuer_url\")", "def get_icc_profile(decoded_data):\n # fixme: move this function somewhere?\n icc_profiles = [res.data for res in decoded_data.image_resource_blocks\n if res.resource_id == ImageResou...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of api_server_authorized_ip_ranges. This function supports the option of enable_validation. When enabled and api_server_authorized_ip_ranges is assigned, if load_balancer_sku equals to CONST_LOAD_BALANCER_SKU_BASIC, raise an InvalidArgumentValueError; if enable_private_cluster is s...
def _get_api_server_authorized_ip_ranges(self, enable_validation: bool = False) -> List[str]: # read the original value passed by the command api_server_authorized_ip_ranges = self.raw_param.get( "api_server_authorized_ip_ranges" ) # In create mode, try to read the property v...
[ "def get_api_server_authorized_ip_ranges(self) -> List[str]:\n return self._get_api_server_authorized_ip_ranges(enable_validation=True)", "def allowed_ip_ranges(self) -> Optional[List['outputs.EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange']]:\n return pulumi.get(self, \"allowed_ip_ran...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of api_server_authorized_ip_ranges. This function will verify the parameter by default. When api_server_authorized_ip_ranges is assigned, if load_balancer_sku equals to CONST_LOAD_BALANCER_SKU_BASIC, raise an InvalidArgumentValueError; if enable_private_cluster is specified, raise a MutuallyExclusiveAr...
def get_api_server_authorized_ip_ranges(self) -> List[str]: return self._get_api_server_authorized_ip_ranges(enable_validation=True)
[ "def _get_api_server_authorized_ip_ranges(self, enable_validation: bool = False) -> List[str]:\n # read the original value passed by the command\n api_server_authorized_ip_ranges = self.raw_param.get(\n \"api_server_authorized_ip_ranges\"\n )\n # In create mode, try to read th...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of fqdn_subdomain. This function supports the option of enable_validation. When enabled, it will check if both dns_name_prefix and fqdn_subdomain are assigend, if so, raise the MutuallyExclusiveArgumentError. It will also check when both private_dns_zone and fqdn_subdomain are assi...
def _get_fqdn_subdomain(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command fqdn_subdomain = self.raw_param.get("fqdn_subdomain") # try to read the property value corresponding to the parameter from the `mc` object # Backward Compat...
[ "def get_fqdn_subdomain(self) -> Union[str, None]:\n\n return self._get_fqdn_subdomain(enable_validation=True)", "def subdomain(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"subdomain\")", "def clean_fqdn(value):\n try:\n socket.gethostbyname(value)\n except:\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of fqdn_subdomain. This function will verify the parameter by default. It will check if both dns_name_prefix and fqdn_subdomain are assigend, if so, raise the MutuallyExclusiveArgumentError. It will also check when both private_dns_zone and fqdn_subdomain are assigned, if the value of private_dns_zone ...
def get_fqdn_subdomain(self) -> Union[str, None]: return self._get_fqdn_subdomain(enable_validation=True)
[ "def _get_fqdn_subdomain(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n fqdn_subdomain = self.raw_param.get(\"fqdn_subdomain\")\n # try to read the property value corresponding to the parameter from the `mc` object\n # Back...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_private_cluster. This function supports the option of enable_validation. When enabled and enable_private_cluster is specified, if load_balancer_sku equals to basic, raise an InvalidArgumentValueError; if api_server_authorized_ip_ranges is assigned, raise an MutuallyExclus...
def _get_enable_private_cluster(self, enable_validation: bool = False) -> bool: # read the original value passed by the command enable_private_cluster = self.raw_param.get("enable_private_cluster") # In create mode, try to read the property value corresponding to the parameter from the `mc` obje...
[ "def get_enable_private_cluster(self) -> bool:\n\n return self._get_enable_private_cluster(enable_validation=True)", "def private_cluster_config(self) -> 'outputs.PrivateClusterConfigResponse':\n return pulumi.get(self, \"private_cluster_config\")", "def on_private_cluster(self) -> bool:\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_private_cluster. This function will verify the parameter by default. When enable_private_cluster is specified, if load_balancer_sku equals to basic, raise an InvalidArgumentValueError; if api_server_authorized_ip_ranges is assigned, raise an MutuallyExclusiveArgumentError; Otherwise when enab...
def get_enable_private_cluster(self) -> bool: return self._get_enable_private_cluster(enable_validation=True)
[ "def _get_enable_private_cluster(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_private_cluster = self.raw_param.get(\"enable_private_cluster\")\n # In create mode, try to read the property value corresponding to the parameter from the...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of disable_public_fqdn. This function supports the option of enable_validation. When enabled, if enable_private_cluster is not specified and disable_public_fqdn is assigned, raise an InvalidArgumentValueError. If both disable_public_fqdn and enable_public_fqdn are assigned, raise a...
def _get_disable_public_fqdn(self, enable_validation: bool = False) -> bool: # read the original value passed by the command disable_public_fqdn = self.raw_param.get("disable_public_fqdn") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. ...
[ "def get_disable_public_fqdn(self) -> bool:\n return self._get_disable_public_fqdn(enable_validation=True)", "def _get_enable_public_fqdn(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_public_fqdn = self.raw_param.get(\"enable_public...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of disable_public_fqdn. This function will verify the parameter by default. If enable_private_cluster is not specified and disable_public_fqdn is assigned, raise an InvalidArgumentValueError. If both disable_public_fqdn and enable_public_fqdn are assigned, raise a MutuallyExclusiveArgumentError. In upd...
def get_disable_public_fqdn(self) -> bool: return self._get_disable_public_fqdn(enable_validation=True)
[ "def _get_disable_public_fqdn(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n disable_public_fqdn = self.raw_param.get(\"disable_public_fqdn\")\n # In create mode, try to read the property value corresponding to the parameter from the `mc` obj...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_public_fqdn. This function supports the option of enable_validation. When enabled, if private cluster is not enabled and enable_public_fqdn is assigned, raise an InvalidArgumentValueError. If both disable_public_fqdn and enable_public_fqdn are assigned, raise a MutuallyEx...
def _get_enable_public_fqdn(self, enable_validation: bool = False) -> bool: # read the original value passed by the command enable_public_fqdn = self.raw_param.get("enable_public_fqdn") # We do not support this option in create mode, therefore we do not read the value from `mc`. # this ...
[ "def enable_private_cluster_public_fqdn(self) -> Optional[pulumi.Input[bool]]:\n return pulumi.get(self, \"enable_private_cluster_public_fqdn\")", "def private_cluster_public_fqdn_enabled(self) -> Optional[pulumi.Input[bool]]:\n return pulumi.get(self, \"private_cluster_public_fqdn_enabled\")", "d...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of private_dns_zone. This function supports the option of enable_validation. When enabled and private_dns_zone is assigned, if enable_private_cluster is not specified raise an InvalidArgumentValueError. It will also check when both private_dns_zone and fqdn_subdomain are assigned, ...
def _get_private_dns_zone(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command private_dns_zone = self.raw_param.get("private_dns_zone") # try to read the property value corresponding to the parameter from the `mc` object if ( ...
[ "def get_private_dns_zone(self) -> Union[str, None]:\n return self._get_private_dns_zone(enable_validation=True)", "def private_dns_zone_id(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"private_dns_zone_id\")", "def private_zone(self) -> typing.Optional[bool]:\n return s...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of private_dns_zone. This function will verify the parameter by default. When private_dns_zone is assigned, if enable_private_cluster is not specified raise an InvalidArgumentValueError. It will also check when both private_dns_zone and fqdn_subdomain are assigned, if the value of private_dns_zone is C...
def get_private_dns_zone(self) -> Union[str, None]: return self._get_private_dns_zone(enable_validation=True)
[ "def _get_private_dns_zone(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n private_dns_zone = self.raw_param.get(\"private_dns_zone\")\n # try to read the property value corresponding to the parameter from the `mc` object\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of assign_kubelet_identity. This function supports the option of enable_validation. When enabled, if assign_identity is not assigned but assign_kubelet_identity is, a RequiredArgumentMissingError will be raised.
def _get_assign_kubelet_identity(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command assign_kubelet_identity = self.raw_param.get("assign_kubelet_identity") # In create mode, try to read the property value corresponding to the parameter fro...
[ "def get_assign_kubelet_identity(self) -> Union[str, None]:\n return self._get_assign_kubelet_identity(enable_validation=True)", "def _get_assign_identity(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n assign_identity = self.raw...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of assign_kubelet_identity. This function will verify the parameter by default. If assign_identity is not assigned but assign_kubelet_identity is, a RequiredArgumentMissingError will be raised.
def get_assign_kubelet_identity(self) -> Union[str, None]: return self._get_assign_kubelet_identity(enable_validation=True)
[ "def _get_assign_kubelet_identity(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n assign_kubelet_identity = self.raw_param.get(\"assign_kubelet_identity\")\n # In create mode, try to read the property value corresponding to the par...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of auto_upgrade_channel.
def get_auto_upgrade_channel(self) -> Union[str, None]: # read the original value passed by the command auto_upgrade_channel = self.raw_param.get("auto_upgrade_channel") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. if self.decorat...
[ "def automatic_channel_upgrade(self) -> pulumi.Output[Optional[str]]:\n return pulumi.get(self, \"automatic_channel_upgrade\")", "def node_os_channel_upgrade(self) -> pulumi.Output[Optional[str]]:\n return pulumi.get(self, \"node_os_channel_upgrade\")", "def get_node_os_upgrade_channel(self) -> Un...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of node_os_upgrade_channel.
def get_node_os_upgrade_channel(self) -> Union[str, None]: # read the original value passed by the command node_os_upgrade_channel = self.raw_param.get("node_os_upgrade_channel") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. if sel...
[ "def node_os_channel_upgrade(self) -> pulumi.Output[Optional[str]]:\n return pulumi.get(self, \"node_os_channel_upgrade\")", "def node_os_channel_upgrade(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"node_os_channel_upgrade\")", "def get_auto_upgrade_channel(self) -> Union[str,...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to dynamically obtain the value of cluster_autoscaler_profile according to the context. This function will call function "__validate_cluster_autoscaler_profile" to parse and verify the parameter by default. In update mode, when cluster_autoscaler_profile is assigned and auto_scaler_profile in the `mc`...
def _get_cluster_autoscaler_profile(self, read_only: bool = False) -> Union[Dict[str, str], None]: # read the original value passed by the command cluster_autoscaler_profile = self.raw_param.get("cluster_autoscaler_profile") # parse and validate user input cluster_autoscaler_profile = se...
[ "def update_auto_scaler_profile(self, mc):\n self._ensure_mc(mc)\n\n cluster_autoscaler_profile = self.context.get_cluster_autoscaler_profile()\n if cluster_autoscaler_profile is not None:\n # update profile (may clear profile with empty dictionary)\n mc.auto_scaler_profil...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of uptime_sla. This function supports the option of enable_validation. When enabled, if both uptime_sla and no_uptime_sla are specified, raise a MutuallyExclusiveArgumentError.
def _get_uptime_sla(self, enable_validation: bool = False) -> bool: # read the original value passed by the command uptime_sla = self.raw_param.get("uptime_sla") # In create mode, try to read the property value corresponding to the parameter from the `mc` object. if self.decorator_mode ...
[ "def _get_no_uptime_sla(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n no_uptime_sla = self.raw_param.get(\"no_uptime_sla\")\n # We do not support this option in create mode, therefore we do not read the value from `mc`.\n\n # this par...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of uptime_sla. This function will verify the parameter by default. If both uptime_sla and no_uptime_sla are specified, raise a MutuallyExclusiveArgumentError.
def get_uptime_sla(self) -> bool: return self._get_uptime_sla(enable_validation=True)
[ "def _get_uptime_sla(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n uptime_sla = self.raw_param.get(\"uptime_sla\")\n\n # In create mode, try to read the property value corresponding to the parameter from the `mc` object.\n if self.dec...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of no_uptime_sla. This function supports the option of enable_validation. When enabled, if both uptime_sla and no_uptime_sla are specified, raise a MutuallyExclusiveArgumentError.
def _get_no_uptime_sla(self, enable_validation: bool = False) -> bool: # read the original value passed by the command no_uptime_sla = self.raw_param.get("no_uptime_sla") # We do not support this option in create mode, therefore we do not read the value from `mc`. # this parameter does ...
[ "def _get_uptime_sla(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n uptime_sla = self.raw_param.get(\"uptime_sla\")\n\n # In create mode, try to read the property value corresponding to the parameter from the `mc` object.\n if self.dec...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of no_uptime_sla. This function will verify the parameter by default. If both uptime_sla and no_uptime_sla are specified, raise a MutuallyExclusiveArgumentError.
def get_no_uptime_sla(self) -> bool: return self._get_no_uptime_sla(enable_validation=True)
[ "def _get_no_uptime_sla(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n no_uptime_sla = self.raw_param.get(\"no_uptime_sla\")\n # We do not support this option in create mode, therefore we do not read the value from `mc`.\n\n # this par...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtrain the value of security_profile.workload_identity.
def get_workload_identity_profile(self) -> Optional[ManagedClusterSecurityProfileWorkloadIdentity]: enable_workload_identity = self.raw_param.get("enable_workload_identity") disable_workload_identity = self.raw_param.get("disable_workload_identity") if not enable_workload_identity and not disab...
[ "def workload_profile(self) -> str:\n return pulumi.get(self, \"workload_profile\")", "def workload_identity_enabled(self) -> Optional[pulumi.Input[bool]]:\n return pulumi.get(self, \"workload_identity_enabled\")", "def update_workload_identity_profile(self, mc: ManagedCluster) -> ManagedCluster:\...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of enable_azure_keyvault_kms. This function supports the option of enable_validation. When enabled, if azure_keyvault_kms_key_id is empty, raise a RequiredArgumentMissingError.
def _get_enable_azure_keyvault_kms(self, enable_validation: bool = False) -> bool: # read the original value passed by the command enable_azure_keyvault_kms = self.raw_param.get("enable_azure_keyvault_kms") # In create mode, try to read the property value corresponding to the parameter from the ...
[ "def get_enable_azure_keyvault_kms(self) -> bool:\n return self._get_enable_azure_keyvault_kms(enable_validation=True)", "def _get_azure_keyvault_kms_key_id(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n azure_keyvault_kms_key_i...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_azure_keyvault_kms. This function will verify the parameter by default. When enabled, if azure_keyvault_kms_key_id is empty, raise a RequiredArgumentMissingError.
def get_enable_azure_keyvault_kms(self) -> bool: return self._get_enable_azure_keyvault_kms(enable_validation=True)
[ "def _get_enable_azure_keyvault_kms(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_azure_keyvault_kms = self.raw_param.get(\"enable_azure_keyvault_kms\")\n # In create mode, try to read the property value corresponding to the parameter...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of disable_azure_keyvault_kms. This function supports the option of enable_validation. When enabled, if both enable_azure_keyvault_kms and disable_azure_keyvault_kms are specified, raise a MutuallyExclusiveArgumentError.
def _get_disable_azure_keyvault_kms(self, enable_validation: bool = False) -> bool: # Read the original value passed by the command. disable_azure_keyvault_kms = self.raw_param.get("disable_azure_keyvault_kms") # This option is not supported in create mode, hence we do not read the property val...
[ "def get_disable_azure_keyvault_kms(self) -> bool:\n return self._get_disable_azure_keyvault_kms(enable_validation=True)", "def _get_enable_azure_keyvault_kms(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_azure_keyvault_kms = self.r...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of disable_azure_keyvault_kms. This function will verify the parameter by default. If both enable_azure_keyvault_kms and disable_azure_keyvault_kms are specified, raise a MutuallyExclusiveArgumentError.
def get_disable_azure_keyvault_kms(self) -> bool: return self._get_disable_azure_keyvault_kms(enable_validation=True)
[ "def _get_disable_azure_keyvault_kms(self, enable_validation: bool = False) -> bool:\n # Read the original value passed by the command.\n disable_azure_keyvault_kms = self.raw_param.get(\"disable_azure_keyvault_kms\")\n\n # This option is not supported in create mode, hence we do not read the p...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of azure_keyvault_kms_key_id according to the context. This function supports the option of enable_validation. When enabled, it will check if azure_keyvault_kms_key_id is assigned but enable_azure_keyvault_kms is not specified, if so, raise a RequiredArgumentMissingError.
def _get_azure_keyvault_kms_key_id(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command azure_keyvault_kms_key_id = self.raw_param.get("azure_keyvault_kms_key_id") # In create mode, try to read the property value corresponding to the paramet...
[ "def get_azure_keyvault_kms_key_id(self) -> Union[str, None]:\n return self._get_azure_keyvault_kms_key_id(enable_validation=True)", "def _get_azure_keyvault_kms_key_vault_resource_id(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of azure_keyvault_kms_key_id. This function will verify the parameter by default. When enabled, if enable_azure_keyvault_kms is False, raise a RequiredArgumentMissingError.
def get_azure_keyvault_kms_key_id(self) -> Union[str, None]: return self._get_azure_keyvault_kms_key_id(enable_validation=True)
[ "def _get_azure_keyvault_kms_key_id(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n azure_keyvault_kms_key_id = self.raw_param.get(\"azure_keyvault_kms_key_id\")\n # In create mode, try to read the property value corresponding to t...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of azure_keyvault_kms_key_vault_network_access according to the context. This function supports the option of enable_validation. When enabled, it will check if azure_keyvault_kms_key_vault_network_access is assigned but enable_azure_keyvault_kms is not specified, if so, raise a Req...
def _get_azure_keyvault_kms_key_vault_network_access(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command azure_keyvault_kms_key_vault_network_access = self.raw_param.get( "azure_keyvault_kms_key_vault_network_access" ) ...
[ "def get_azure_keyvault_kms_key_vault_network_access(self) -> Union[str, None]:\n return self._get_azure_keyvault_kms_key_vault_network_access(enable_validation=True)", "def key_vault_network_access(self) -> Optional[pulumi.Input[Union[str, 'KeyVaultNetworkAccessTypes']]]:\n return pulumi.get(self, ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of azure_keyvault_kms_key_vault_network_access. This function will verify the parameter by default. When enabled, if enable_azure_keyvault_kms is False, raise a RequiredArgumentMissingError.
def get_azure_keyvault_kms_key_vault_network_access(self) -> Union[str, None]: return self._get_azure_keyvault_kms_key_vault_network_access(enable_validation=True)
[ "def _get_azure_keyvault_kms_key_vault_network_access(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n azure_keyvault_kms_key_vault_network_access = self.raw_param.get(\n \"azure_keyvault_kms_key_vault_network_access\"\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of azure_keyvault_kms_key_vault_resource_id according to the context. This function supports the option of enable_validation. When enabled, it will do validation, and raise a RequiredArgumentMissingError.
def _get_azure_keyvault_kms_key_vault_resource_id(self, enable_validation: bool = False) -> Union[str, None]: # read the original value passed by the command azure_keyvault_kms_key_vault_resource_id = self.raw_param.get( "azure_keyvault_kms_key_vault_resource_id" ) if self.de...
[ "def get_azure_keyvault_kms_key_vault_resource_id(self) -> Union[str, None]:\n return self._get_azure_keyvault_kms_key_vault_resource_id(enable_validation=True)", "def key_vault_resource_id(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"key_vault_resource_id\")", "def _get_azure...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of azure_keyvault_kms_key_vault_resource_id. This function will verify the parameter by default. When enabled, if enable_azure_keyvault_kms is False, raise a RequiredArgumentMissingError.
def get_azure_keyvault_kms_key_vault_resource_id(self) -> Union[str, None]: return self._get_azure_keyvault_kms_key_vault_resource_id(enable_validation=True)
[ "def get_azure_keyvault_kms_key_id(self) -> Union[str, None]:\n return self._get_azure_keyvault_kms_key_id(enable_validation=True)", "def _get_azure_keyvault_kms_key_vault_resource_id(self, enable_validation: bool = False) -> Union[str, None]:\n # read the original value passed by the command\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of enable_image_cleaner.
def get_enable_image_cleaner(self) -> bool: # read the original value passed by the command enable_image_cleaner = self.raw_param.get("enable_image_cleaner") return enable_image_cleaner
[ "def get_disable_image_cleaner(self) -> bool:\n # read the original value passed by the command\n disable_image_cleaner = self.raw_param.get(\"disable_image_cleaner\")\n\n return disable_image_cleaner", "def image_cleaner_enabled(self) -> Optional[pulumi.Input[bool]]:\n return pulumi.g...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of disable_image_cleaner. This function supports the option of enable_validation. When enabled, if both enable_image_cleaner and disable_image_cleaner are specified, raise a MutuallyExclusiveArgumentError.
def get_disable_image_cleaner(self) -> bool: # read the original value passed by the command disable_image_cleaner = self.raw_param.get("disable_image_cleaner") return disable_image_cleaner
[ "def get_enable_image_cleaner(self) -> bool:\n # read the original value passed by the command\n enable_image_cleaner = self.raw_param.get(\"enable_image_cleaner\")\n\n return enable_image_cleaner", "def image_cleaner_enabled(self) -> Optional[pulumi.Input[bool]]:\n return pulumi.get(s...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of image_cleaner_interval_hours according to the context. This function supports the option of enable_validation. When enabled 1. In Create mode a. if image_cleaner_interval_hours is specified but enable_image_cleaner is missed, raise a RequiredArgumentMissingError. 2. In update mo...
def _get_image_cleaner_interval_hours(self, enable_validation: bool = False) -> Union[int, None]: # read the original value passed by the command image_cleaner_interval_hours = self.raw_param.get("image_cleaner_interval_hours") if image_cleaner_interval_hours is not None and enable_validation: ...
[ "def get_image_cleaner_interval_hours(self) -> Union[int, None]:\n interval_hours = self._get_image_cleaner_interval_hours(enable_validation=True)\n\n return interval_hours", "def image_cleaner_interval_hours(self) -> Optional[pulumi.Input[int]]:\n return pulumi.get(self, \"image_cleaner_inte...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of image_cleaner_interval_hours. This function supports the option of enable_validation. When enabled 1. In Create mode a. if image_cleaner_interval_hours is specified but enable_image_cleaner is missed, raise a RequiredArgumentMissingError. 2. In update mode b. if image_cleaner_interval_hours is speci...
def get_image_cleaner_interval_hours(self) -> Union[int, None]: interval_hours = self._get_image_cleaner_interval_hours(enable_validation=True) return interval_hours
[ "def _get_image_cleaner_interval_hours(self, enable_validation: bool = False) -> Union[int, None]:\n # read the original value passed by the command\n image_cleaner_interval_hours = self.raw_param.get(\"image_cleaner_interval_hours\")\n\n if image_cleaner_interval_hours is not None and enable_v...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Internal function to obtain the value of disable_local_accounts. This function supports the option of enable_validation. When enabled, if both disable_local_accounts and enable_local_accounts are specified, raise a MutuallyExclusiveArgumentError.
def _get_disable_local_accounts(self, enable_validation: bool = False) -> bool: # read the original value passed by the command disable_local_accounts = self.raw_param.get("disable_local_accounts") # In create mode, try to read the property value corresponding to the parameter from the `mc` obje...
[ "def get_disable_local_accounts(self) -> bool:\n return self._get_disable_local_accounts(enable_validation=True)", "def _get_enable_local_accounts(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n enable_local_accounts = self.raw_param.get(\"e...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain the value of disable_local_accounts. This function will verify the parameter by default. If both disable_local_accounts and enable_local_accounts are specified, raise a MutuallyExclusiveArgumentError.
def get_disable_local_accounts(self) -> bool: return self._get_disable_local_accounts(enable_validation=True)
[ "def _get_disable_local_accounts(self, enable_validation: bool = False) -> bool:\n # read the original value passed by the command\n disable_local_accounts = self.raw_param.get(\"disable_local_accounts\")\n # In create mode, try to read the property value corresponding to the parameter from the...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }