index int64 0 731k | package stringlengths 2 98 ⌀ | name stringlengths 1 76 | docstring stringlengths 0 281k ⌀ | code stringlengths 4 8.19k | signature stringlengths 2 42.8k ⌀ | embed_func_code listlengths 768 768 |
|---|---|---|---|---|---|---|
719,647 | ibm_platform_services.iam_access_groups_v2 | list_templates |
List templates.
List the access group templates in an enterprise account.
:param str account_id: Enterprise account ID.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param int limit: (optional) Return up to this limit of resu... | def list_templates(
self,
account_id: str,
*,
transaction_id: str = None,
limit: int = None,
offset: int = None,
verbose: bool = None,
**kwargs,
) -> DetailedResponse:
"""
List templates.
List the access group templates in an enterprise account.
:param str account_id: Ent... | (self, account_id: str, *, transaction_id: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, verbose: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.00039605615893378854,
-0.010713261552155018,
0.006973376031965017,
-0.068646639585495,
-0.04028855264186859,
0.03081107884645462,
-0.07961077243089676,
-0.04727586358785629,
-0.05526667460799217,
-0.016697077080607414,
0.04184954613447189,
-0.025570593774318695,
-0.04493437334895134,
-0... |
719,649 | ibm_platform_services.iam_access_groups_v2 | remove_access_group_rule |
Delete an access group rule.
Remove one rule from a group using this API. If the operation is successful, only
a `204 - No Content` response with no body is returned. However, if any error
occurs, the standard error format will be returned.
:param str access_group_id: The acce... | def remove_access_group_rule(
self,
access_group_id: str,
rule_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete an access group rule.
Remove one rule from a group using this API. If the operation is successful, only
a `204 - No Content` response... | (self, access_group_id: str, rule_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04560157284140587,
0.09793677181005478,
-0.023530263453722,
-0.009118444286286831,
0.004634040407836437,
-0.04515266790986061,
-0.07597768306732178,
0.06494203209877014,
0.001968648750334978,
-0.04937988519668579,
0.0132521390914917,
0.06352048367261887,
0.04305776208639145,
-0.01935915... |
719,650 | ibm_platform_services.iam_access_groups_v2 | remove_member_from_access_group |
Delete member from an access group.
Remove one member from a group using this API. If the operation is successful,
only a `204 - No Content` response with no body is returned. However, if any error
occurs, the standard error format will be returned. Dynamic member cannot be
del... | def remove_member_from_access_group(
self,
access_group_id: str,
iam_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete member from an access group.
Remove one member from a group using this API. If the operation is successful,
only a `204 - No Co... | (self, access_group_id: str, iam_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.006412842310965061,
0.05478088930249214,
0.01726788841187954,
0.0001372682600049302,
-0.0291106179356575,
-0.05417599529027939,
-0.029507581144571304,
0.09670773893594742,
-0.009375886991620064,
-0.006644404027611017,
0.010453358292579651,
0.057843174785375595,
0.034668099135160446,
0.0... |
719,651 | ibm_platform_services.iam_access_groups_v2 | remove_member_from_all_access_groups |
Delete member from all access groups.
This API removes a given member from every group they are a member of within the
specified account. By using one operation, you can revoke one member's access to
all access groups in the account. If a partial failure occurs on deletion, the
... | def remove_member_from_all_access_groups(
self,
account_id: str,
iam_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete member from all access groups.
This API removes a given member from every group they are a member of within the
specified accou... | (self, account_id: str, iam_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.037573881447315216,
0.03030523844063282,
-0.00450684642419219,
-0.02401728555560112,
-0.04914986714720726,
-0.06653307378292084,
-0.03851611167192459,
0.019546493887901306,
0.007345559075474739,
0.014921868219971657,
0.03109363652765751,
0.019238825887441635,
0.048457615077495575,
0.003... |
719,652 | ibm_platform_services.iam_access_groups_v2 | remove_members_from_access_group |
Delete members from an access group.
Remove multiple members from a group using this API. On a successful call, this
API will always return 207. It is the caller's responsibility to iterate across
the body to determine successful deletion of each member. This API request payload
... | def remove_members_from_access_group(
self,
access_group_id: str,
*,
members: List[str] = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete members from an access group.
Remove multiple members from a group using this API. On a successful call, this
AP... | (self, access_group_id: str, *, members: Optional[List[str]] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.02149752900004387,
0.02986607514321804,
-0.013535131700336933,
-0.025181200355291367,
-0.04605533927679062,
-0.042503900825977325,
-0.037970151752233505,
0.09755117446184158,
0.02686246670782566,
-0.0006576298037543893,
0.017879974097013474,
0.05244037136435509,
0.061772339046001434,
0.... |
719,653 | ibm_platform_services.iam_access_groups_v2 | replace_access_group_rule |
Replace an access group rule.
Update the body of an existing rule using this API. An `If-Match` header must be
populated with the rule's most recent revision number (which can be acquired in
the `Get an access group rule` API).
:param str access_group_id: The access group iden... | def replace_access_group_rule(
self,
access_group_id: str,
rule_id: str,
if_match: str,
expiration: int,
realm_name: str,
conditions: List['RuleConditions'],
*,
name: str = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Replace an access group ... | (self, access_group_id: str, rule_id: str, if_match: str, expiration: int, realm_name: str, conditions: List[ibm_platform_services.iam_access_groups_v2.RuleConditions], *, name: Optional[str] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.028368709608912468,
0.05074483901262283,
-0.06741649657487869,
0.002460894174873829,
-0.009108910337090492,
-0.02454652078449726,
-0.05623803660273552,
0.02779250033199787,
-0.0012124405475333333,
-0.01803535409271717,
0.0008325025555677712,
-0.009051289409399033,
0.03317045420408249,
0... |
719,661 | ibm_platform_services.iam_access_groups_v2 | update_access_group |
Update an access group.
Update the group name or description of an existing access group using this API.
An `If-Match` header must be populated with the group's most recent revision
number (which can be acquired in the `Get an access group` API).
:param str access_group_id: Th... | def update_access_group(
self,
access_group_id: str,
if_match: str,
*,
name: str = None,
description: str = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Update an access group.
Update the group name or description of an existing access group using th... | (self, access_group_id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.014404390938580036,
0.01948087103664875,
-0.0706242248415947,
0.0032371054403483868,
0.0098035279661417,
-0.06612042337656021,
-0.031177159398794174,
0.06219901517033577,
-0.007512802258133888,
0.01739398203790188,
0.002914365381002426,
-0.0152197340503335,
0.034302640706300735,
0.01957... |
719,662 | ibm_platform_services.iam_access_groups_v2 | update_account_settings |
Update account settings.
Update the access groups settings for a specific account. Note: When the
`public_access_enabled` setting is set to false, all policies within the account
attached to the Public Access group will be deleted. Only set
`public_access_enabled` to false if y... | def update_account_settings(
self,
account_id: str,
*,
public_access_enabled: bool = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Update account settings.
Update the access groups settings for a specific account. Note: When the
`public_access_enabled` se... | (self, account_id: str, *, public_access_enabled: Optional[bool] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.01930862106382847,
0.010235472582280636,
-0.008662326261401176,
-0.005052606109529734,
-0.006212425883859396,
-0.03731463477015495,
-0.08729460090398788,
-0.008817636407911777,
-0.022985976189374924,
0.024268541485071182,
0.008381764404475689,
-0.04048096761107445,
0.024028059095144272,
... |
719,663 | ibm_platform_services.iam_access_groups_v2 | update_assignment |
Update Assignment.
Endpoint to update template assignment.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the Assignment to be updated. Specify the
version that you retrieved when reading the Assignment. This value helps
... | def update_assignment(
self,
assignment_id: str,
if_match: str,
template_version: str,
**kwargs,
) -> DetailedResponse:
"""
Update Assignment.
Endpoint to update template assignment.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the Assign... | (self, assignment_id: str, if_match: str, template_version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.04002166539430618,
0.011787457391619682,
-0.07269241660833359,
-0.04596180096268654,
-0.0007784826448187232,
-0.011295540258288383,
-0.05442649498581886,
-0.01345812063664198,
-0.041506700217723846,
-0.020177898928523064,
0.006501664407551289,
-0.07922656089067459,
0.007517984602600336,
... |
719,664 | ibm_platform_services.iam_access_groups_v2 | update_template_version |
Update template version.
Update a template version. You can only update a version that isn't committed.
Create a new version if you need to update a committed version.
:param str template_id: ID of the template.
:param str version_num: Version number of the template.
:... | def update_template_version(
self,
template_id: str,
version_num: str,
if_match: str,
*,
name: str = None,
description: str = None,
group: 'AccessGroupRequest' = None,
policy_template_references: List['PolicyTemplates'] = None,
transaction_id: str = None,
**kwargs,
) -> Detai... | (self, template_id: str, version_num: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, group: Optional[ibm_platform_services.iam_access_groups_v2.AccessGroupRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_access_groups_v2.PolicyTemplates]] = None... | [
0.07726001739501953,
-0.061285775154829025,
-0.04761551693081856,
-0.0020315793808549643,
-0.02638053148984909,
-0.039090801030397415,
-0.060479383915662766,
0.016540631651878357,
-0.05402825027704239,
0.002348376205191016,
0.017625421285629272,
-0.043813955038785934,
-0.03338846191763878,
... |
719,665 | ibm_platform_services.iam_identity_v1 | IamIdentityV1 | The iam_identity V1 service. | class IamIdentityV1(BaseService):
"""The iam_identity V1 service."""
DEFAULT_SERVICE_URL = 'https://iam.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'iam_identity'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'IamIdentityV1':
"""
R... | (authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None | [
-0.01584642007946968,
-0.09678775072097778,
-0.08509084582328796,
-0.0027543322648853064,
0.02942759543657303,
-0.027244722470641136,
-0.010420127771794796,
-0.009241171181201935,
-0.015022695064544678,
-0.006831773556768894,
-0.0049938359297811985,
-0.029304036870598793,
0.04802319779992103... |
719,666 | ibm_platform_services.iam_identity_v1 | __init__ |
Construct a new client for the iam_identity service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenticat... | def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam_identity service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core... | (self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType | [
-0.004842119291424751,
-0.08270265907049179,
0.03361866623163223,
-0.010264188051223755,
0.0005183875327929854,
-0.04757428169250488,
0.006476104259490967,
0.019736697897315025,
-0.02402648515999317,
0.0060664573684334755,
-0.002547635929659009,
0.018539976328611374,
-0.039915263652801514,
... |
719,671 | ibm_platform_services.iam_identity_v1 | commit_account_settings_template |
Commit a template version.
Commit a specific version of an account settings template in an Enterprise
Account. A Template must be committed before being assigned, and once committed,
can no longer be modified.
:param str template_id: ID of the account settings template.
... | def commit_account_settings_template(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Commit a template version.
Commit a specific version of an account settings template in an Enterprise
Account. A Template must be committed before being assigned, and once com... | (self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.025133861228823662,
-0.05449250340461731,
-0.027550579980015755,
-0.023379504680633545,
0.016899120062589645,
-0.024149272590875626,
-0.06326429545879364,
0.027407366782426834,
-0.02563510648906231,
-0.03576741740107536,
0.004437361843883991,
-0.011815063655376434,
-0.0364476814866066,
-... |
719,672 | ibm_platform_services.iam_identity_v1 | commit_profile_template |
Commit a template version.
Commit a specific version of a trusted profile template in an enterprise account.
You must commit a template before you can assign it to child accounts. Once a
template is committed, you can no longer modify the template.
:param str template_id: ID o... | def commit_profile_template(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Commit a template version.
Commit a specific version of a trusted profile template in an enterprise account.
You must commit a template before you can assign it to child accounts. Once... | (self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.011538590304553509,
-0.04676259681582451,
-0.041968267410993576,
-0.014633437618613243,
0.0031485145445913076,
-0.03824729844927788,
-0.04819374158978462,
0.051628485321998596,
-0.008667360059916973,
-0.03368552774190903,
0.02159236930310726,
-0.00763872591778636,
-0.06171804293990135,
-... |
719,674 | ibm_platform_services.iam_identity_v1 | create_account_settings_assignment |
Create assignment.
Create an assigment for an account settings template.
:param str template_id: ID of the template to assign.
:param int template_version: Version of the template to assign.
:param str target_type: Type of target to deploy to.
:param str target: Identi... | def create_account_settings_assignment(
self,
template_id: str,
template_version: int,
target_type: str,
target: str,
**kwargs,
) -> DetailedResponse:
"""
Create assignment.
Create an assigment for an account settings template.
:param str template_id: ID of the template to assign... | (self, template_id: str, template_version: int, target_type: str, target: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.009748529642820358,
0.008313602767884731,
-0.03266250714659691,
-0.04175635054707527,
0.016932127997279167,
0.005040178075432777,
-0.06905581802129745,
-0.006788994185626507,
-0.05172908678650856,
-0.022133735939860344,
0.03111995942890644,
0.01724601723253727,
0.021290715783834457,
-0.... |
719,675 | ibm_platform_services.iam_identity_v1 | create_account_settings_template |
Create an account settings template.
Create a new account settings template in an enterprise account.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
... | def create_account_settings_template(
self,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
account_settings: Optional['AccountSettingsComponent'] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an account settings template.
... | (self, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, account_settings: Optional[ibm_platform_services.iam_identity_v1.AccountSettingsComponent] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.024052472785115242,
-0.004290802404284477,
0.007539453916251659,
-0.011924788355827332,
-0.0163424015045166,
-0.008318761363625526,
-0.08056840300559998,
-0.021986616775393486,
-0.024827169254422188,
-0.048990312963724136,
0.061643682420253754,
0.01708942838013172,
-0.042276278138160706,
... |
719,676 | ibm_platform_services.iam_identity_v1 | create_account_settings_template_version |
Create a new version of an account settings template.
Create a new version of an account settings template in an Enterprise Account.
:param str template_id: ID of the account settings template.
:param str account_id: (optional) ID of the account where the template
resid... | def create_account_settings_template_version(
self,
template_id: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
account_settings: Optional['AccountSettingsComponent'] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a n... | (self, template_id: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, account_settings: Optional[ibm_platform_services.iam_identity_v1.AccountSettingsComponent] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.026760203763842583,
-0.041811637580394745,
-0.005948809906840324,
-0.0005813073366880417,
-0.02353084832429886,
-0.02938523329794407,
-0.05699526518583298,
0.0003384566225577146,
-0.024928348138928413,
-0.03110377863049507,
0.03406874090433121,
0.00704414676874876,
-0.0646248534321785,
-... |
719,677 | ibm_platform_services.iam_identity_v1 | create_api_key |
Create an API key.
Creates an API key for a UserID or service ID. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str name: Name of the API key. The name is not checked for
... | def create_api_key(
self,
name: str,
iam_id: str,
*,
description: Optional[str] = None,
account_id: Optional[str] = None,
apikey: Optional[str] = None,
store_value: Optional[bool] = None,
support_sessions: Optional[bool] = None,
action_when_leaked: Optional[str] = None,
entit... | (self, name: str, iam_id: str, *, description: Optional[str] = None, account_id: Optional[str] = None, apikey: Optional[str] = None, store_value: Optional[bool] = None, support_sessions: Optional[bool] = None, action_when_leaked: Optional[str] = None, entity_lock: Optional[str] = None, entity_disable: Optional[str] = N... | [
-0.043903328478336334,
-0.0553312748670578,
-0.07199222594499588,
-0.016766762360930443,
0.002094642724841833,
-0.02233644388616085,
-0.010629530996084213,
-0.0022365301847457886,
-0.038574133068323135,
-0.009994644671678543,
0.012486090883612633,
0.020624175667762756,
0.0570627823472023,
... |
719,678 | ibm_platform_services.iam_identity_v1 | create_claim_rule |
Create claim rule for a trusted profile.
Create a claim rule for a trusted profile. There is a limit of 20 rules per
trusted profile.
:param str profile_id: ID of the trusted profile to create a claim rule.
:param str type: Type of the claim rule, either 'Profile-SAML' or
... | def create_claim_rule(
self,
profile_id: str,
type: str,
conditions: List['ProfileClaimRuleConditions'],
*,
context: Optional['ResponseContext'] = None,
name: Optional[str] = None,
realm_name: Optional[str] = None,
cr_type: Optional[str] = None,
expiration: Optional[int] = None,
... | (self, profile_id: str, type: str, conditions: List[ibm_platform_services.iam_identity_v1.ProfileClaimRuleConditions], *, context: Optional[ibm_platform_services.iam_identity_v1.ResponseContext] = None, name: Optional[str] = None, realm_name: Optional[str] = None, cr_type: Optional[str] = None, expiration: Optional[int... | [
-0.07679568231105804,
0.05394165590405464,
-0.0061511569656431675,
-0.04109107702970505,
-0.022353852167725563,
0.005453801713883877,
-0.03293441981077194,
-0.04278396815061569,
-0.026162857189774513,
0.000017894159100251272,
0.010628661140799522,
0.05740438774228096,
0.019660618156194687,
... |
719,679 | ibm_platform_services.iam_identity_v1 | create_link |
Create link to a trusted profile.
Create a direct link between a specific compute resource and a trusted profile,
rather than creating conditions that a compute resource must fulfill to apply a
trusted profile.
:param str profile_id: ID of the trusted profile.
:param s... | def create_link(
self,
profile_id: str,
cr_type: str,
link: 'CreateProfileLinkRequestLink',
*,
name: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create link to a trusted profile.
Create a direct link between a specific compute resource and a trusted profile,
ra... | (self, profile_id: str, cr_type: str, link: ibm_platform_services.iam_identity_v1.CreateProfileLinkRequestLink, *, name: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.08379346132278442,
0.05354515090584755,
-0.022263510152697563,
-0.011714175343513489,
-0.010258123278617859,
0.014466584660112858,
-0.04959971830248833,
-0.004551337566226721,
-0.012127506546676159,
-0.005157243460416794,
0.004062855616211891,
0.036147672683000565,
0.05816694349050522,
... |
719,680 | ibm_platform_services.iam_identity_v1 | create_mfa_report |
Trigger MFA enrollment status report for the account.
Trigger MFA enrollment status report for the account by specifying the account ID.
It can take a few minutes to generate the report for retrieval.
:param str account_id: ID of the account.
:param str type: (optional) Option... | def create_mfa_report(
self,
account_id: str,
*,
type: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Trigger MFA enrollment status report for the account.
Trigger MFA enrollment status report for the account by specifying the account ID.
It can take a few minutes to gene... | (self, account_id: str, *, type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03217390924692154,
0.04465745761990547,
0.030190708115696907,
-0.009924863465130329,
0.007627359591424465,
-0.03091670200228691,
-0.03977028280496597,
-0.023001601919531822,
-0.12628747522830963,
-0.0050731017254292965,
0.01050919946283102,
0.012837691232562065,
0.024701489135622978,
-0... |
719,681 | ibm_platform_services.iam_identity_v1 | create_profile |
Create a trusted profile.
Create a trusted profile for a given account ID.
:param str name: Name of the trusted profile. The name is checked for
uniqueness. Therefore trusted profiles with the same names can not exist in
the same account.
:param str accou... | def create_profile(
self,
name: str,
account_id: str,
*,
description: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a trusted profile.
Create a trusted profile for a given account ID.
:param str name: Name of the trusted profile. The name is checked for
... | (self, name: str, account_id: str, *, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.12032438069581985,
0.011178283952176571,
-0.010556235909461975,
-0.04994947463274002,
-0.020109768956899643,
-0.014074981212615967,
-0.019812671467661858,
-0.029505468904972076,
-0.008402281440794468,
-0.030359623953700066,
0.008866495452821255,
0.07613116502761841,
-0.003829769091680646,... |
719,682 | ibm_platform_services.iam_identity_v1 | create_profile_template |
Create a trusted profile template.
Create a new trusted profile template in an enterprise account.
:param str account_id: (optional) ID of the account where the template
resides.
:param str name: (optional) The name of the trusted profile template. This
i... | def create_profile_template(
self,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
profile: Optional['TemplateProfileComponentRequest'] = None,
policy_template_references: Optional[List['PolicyTemplateReference']] = None,
**kwargs,
) ->... | (self, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, profile: Optional[ibm_platform_services.iam_identity_v1.TemplateProfileComponentRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_identity_v1.PolicyTemplateReference]] = None, **... | [
-0.02841806598007679,
-0.005980232730507851,
0.005621418822556734,
-0.024514170363545418,
-0.03785248100757599,
-0.0026623995508998632,
-0.05920908600091934,
0.013902844861149788,
0.014209032990038395,
-0.053812526166439056,
0.059323906898498535,
0.020131854340434074,
-0.0754370465874672,
... |
719,683 | ibm_platform_services.iam_identity_v1 | create_profile_template_version |
Create new version of a trusted profile template.
Create a new version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str account_id: (optional) ID of the account where the template
resides.
... | def create_profile_template_version(
self,
template_id: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
profile: Optional['TemplateProfileComponentRequest'] = None,
policy_template_references: Optional[List['PolicyTemplateReference... | (self, template_id: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, profile: Optional[ibm_platform_services.iam_identity_v1.TemplateProfileComponentRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_identity_v1.PolicyTemplateRefe... | [
0.015125701203942299,
-0.0464458204805851,
-0.009315160103142262,
-0.0007852896233089268,
-0.039205510169267654,
-0.032311808317899704,
-0.054995547980070114,
0.03107941709458828,
-0.003066540928557515,
-0.021605392917990685,
0.03425668179988861,
0.017311273142695427,
-0.09073495119810104,
... |
719,684 | ibm_platform_services.iam_identity_v1 | create_report |
Trigger activity report for the account.
Trigger activity report for the account by specifying the account ID. It can take
a few minutes to generate the report for retrieval.
:param str account_id: ID of the account.
:param str type: (optional) Optional report type. The suppor... | def create_report(
self,
account_id: str,
*,
type: Optional[str] = None,
duration: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Trigger activity report for the account.
Trigger activity report for the account by specifying the account ID. It can take
a few minutes t... | (self, account_id: str, *, type: Optional[str] = None, duration: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04156746342778206,
-0.007560917641967535,
0.014497620053589344,
-0.024335606023669243,
-0.008193925023078918,
-0.027799559757113457,
-0.03530772775411606,
-0.005956420674920082,
-0.10747053474187851,
-0.027377555146813393,
-0.0038156260270625353,
0.024792777374386787,
0.02830948308110237,... |
719,685 | ibm_platform_services.iam_identity_v1 | create_service_id |
Create a service ID.
Creates a service ID for an IBM Cloud account. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str account_id: ID of the account the service ID belongs to.
... | def create_service_id(
self,
account_id: str,
name: str,
*,
description: Optional[str] = None,
unique_instance_crns: Optional[List[str]] = None,
apikey: Optional['ApiKeyInsideCreateServiceIdRequest'] = None,
entity_lock: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
... | (self, account_id: str, name: str, *, description: Optional[str] = None, unique_instance_crns: Optional[List[str]] = None, apikey: Optional[ibm_platform_services.iam_identity_v1.ApiKeyInsideCreateServiceIdRequest] = None, entity_lock: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedRespo... | [
-0.022569287568330765,
-0.057274702936410904,
0.0026082892436534166,
-0.0005272855050861835,
0.004392006900161505,
-0.02401779405772686,
-0.014406761154532433,
0.02574034035205841,
-0.033335208892822266,
-0.00444828299805522,
-0.002835841616615653,
0.011636982671916485,
0.023176094517111778,... |
719,686 | ibm_platform_services.iam_identity_v1 | create_trusted_profile_assignment |
Create assignment.
Create an assigment for a trusted profile template.
:param str template_id: ID of the template to assign.
:param int template_version: Version of the template to assign.
:param str target_type: Type of target to deploy to.
:param str target: Identifi... | def create_trusted_profile_assignment(
self,
template_id: str,
template_version: int,
target_type: str,
target: str,
**kwargs,
) -> DetailedResponse:
"""
Create assignment.
Create an assigment for a trusted profile template.
:param str template_id: ID of the template to assign.
... | (self, template_id: str, template_version: int, target_type: str, target: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.019736550748348236,
0.01704520173370838,
-0.0394006073474884,
-0.03593900799751282,
0.008472761139273643,
0.008114821277558804,
-0.05110841989517212,
0.0035069077275693417,
-0.03994431346654892,
-0.01750735379755497,
0.008404797874391079,
0.02729407139122486,
-0.0018338770605623722,
-0.... |
719,687 | ibm_platform_services.iam_identity_v1 | delete_account_settings_assignment |
Delete assignment.
Delete an account settings template assignment. This removes any IAM resources
created by this assignment in child accounts.
:param str assignment_id: ID of the Assignment Record.
:param dict headers: A `dict` containing the request headers
:return: ... | def delete_account_settings_assignment(
self,
assignment_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete assignment.
Delete an account settings template assignment. This removes any IAM resources
created by this assignment in child accounts.
:param str assignment_id: ID of the Assig... | (self, assignment_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.014083288609981537,
0.05188865214586258,
0.01194233912974596,
-0.07898927479982376,
0.020198995247483253,
0.02527584321796894,
-0.07349687814712524,
0.04010891541838646,
-0.007877246476709843,
-0.031689658761024475,
0.014589166268706322,
0.007877246476709843,
0.014625300653278828,
-0.01... |
719,688 | ibm_platform_services.iam_identity_v1 | delete_account_settings_template_version |
Delete version of an account settings template.
Delete a specific version of an account settings template in an Enterprise
Account.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param dict he... | def delete_account_settings_template_version(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Delete version of an account settings template.
Delete a specific version of an account settings template in an Enterprise
Account.
:param str template_id: ID of t... | (self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.05084432661533356,
-0.026606708765029907,
0.014032305218279362,
-0.06750085204839706,
0.03180048242211342,
-0.009449026547372341,
-0.05744133144617081,
0.04475758597254753,
-0.016182709485292435,
0.01388651505112648,
0.0009544701315462589,
0.005052540916949511,
-0.042680077254772186,
-0.... |
719,689 | ibm_platform_services.iam_identity_v1 | delete_all_versions_of_account_settings_template |
Delete all versions of an account settings template.
Delete all versions of an account settings template in an enterprise account. If
any version is assigned to child accounts, you must first delete the assignment.
:param str template_id: ID of the account settings template.
:... | def delete_all_versions_of_account_settings_template(
self,
template_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete all versions of an account settings template.
Delete all versions of an account settings template in an enterprise account. If
any version is assigned to child accounts, ... | (self, template_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.012998972088098526,
-0.05748084560036659,
0.012155845761299133,
-0.10035984963178635,
-0.02497878111898899,
0.021254200488328934,
-0.07834590971469879,
-0.021791577339172363,
-0.02916661836206913,
0.030019009485840797,
-0.003235845360904932,
-0.005299652460962534,
-0.018687760457396507,
... |
719,690 | ibm_platform_services.iam_identity_v1 | delete_all_versions_of_profile_template |
Delete all versions of a trusted profile template.
Delete all versions of a trusted profile template in an enterprise account. If any
version is assigned to child accounts, you must first delete the assignment.
:param str template_id: ID of the trusted profile template.
:param... | def delete_all_versions_of_profile_template(
self,
template_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete all versions of a trusted profile template.
Delete all versions of a trusted profile template in an enterprise account. If any
version is assigned to child accounts, you must firs... | (self, template_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.002305701607838273,
-0.050154004245996475,
-0.0042445603758096695,
-0.0897730365395546,
-0.03894178196787834,
0.014071715995669365,
-0.05971073359251022,
0.007482653949409723,
-0.0014591410290449858,
0.03213167190551758,
0.013488530181348324,
0.0003856553230434656,
-0.051847126334905624,
... |
719,691 | ibm_platform_services.iam_identity_v1 | delete_api_key |
Deletes an API key.
Deletes an API key. Existing tokens will remain valid until expired. Users can
manage user API keys for themself, or service ID API keys for service IDs that are
bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param... | def delete_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Deletes an API key.
Deletes an API key. Existing tokens will remain valid until expired. Users can
manage user API keys for themself, or service ID API keys for service IDs that are
bound to an entity they have acces... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.037776414304971695,
-0.006446267478168011,
-0.00515425531193614,
-0.04108690842986107,
-0.00597268296405673,
0.00004957119745085947,
-0.020856112241744995,
0.07040317356586456,
-0.024295346811413765,
0.025049403309822083,
-0.024810312315821648,
-0.012184456922113895,
0.052783988416194916,... |
719,692 | ibm_platform_services.iam_identity_v1 | delete_claim_rule |
Delete a claim rule.
Delete a claim rule. When you delete a claim rule, federated user or compute
resources are no longer required to meet the conditions of the claim rule in order
to apply the trusted profile.
:param str profile_id: ID of the trusted profile.
:param s... | def delete_claim_rule(
self,
profile_id: str,
rule_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a claim rule.
Delete a claim rule. When you delete a claim rule, federated user or compute
resources are no longer required to meet the conditions of the claim rule in order
to app... | (self, profile_id: str, rule_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04581794887781143,
0.08586356043815613,
-0.010922349989414215,
-0.026119839400053024,
-0.028627200052142143,
-0.008829876780509949,
-0.0487041212618351,
0.04495209828019142,
0.0033980142325162888,
-0.029114240780472755,
-0.017921311780810356,
0.035626161843538284,
0.021501967683434486,
... |
719,693 | ibm_platform_services.iam_identity_v1 | delete_link |
Delete link to a trusted profile.
Delete a link between a compute resource and a trusted profile.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResp... | def delete_link(
self,
profile_id: str,
link_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete link to a trusted profile.
Delete a link between a compute resource and a trusted profile.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:para... | (self, profile_id: str, link_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.032912760972976685,
0.047741588205099106,
-0.041846226900815964,
-0.008065435104072094,
-0.004030457232147455,
0.018219564110040665,
-0.057687751948833466,
0.03237024322152138,
0.02227940782904625,
0.013282650150358677,
-0.0170260239392519,
0.02873537316918373,
0.03363611921668053,
-0.0... |
719,694 | ibm_platform_services.iam_identity_v1 | delete_profile |
Delete a trusted profile.
Delete a trusted profile. When you delete trusted profile, compute resources and
federated users are unlinked from the profile and can no longer apply the trusted
profile identity.
:param str profile_id: ID of the trusted profile.
:param dict ... | def delete_profile(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a trusted profile.
Delete a trusted profile. When you delete trusted profile, compute resources and
federated users are unlinked from the profile and can no longer apply the trusted
profile identity.
... | (self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.07743857055902481,
0.027217058464884758,
0.02051352895796299,
-0.05285897105932236,
-0.009606558829545975,
0.0010382684413343668,
-0.013974841684103012,
0.06948958337306976,
0.024121712893247604,
0.0029808722902089357,
-0.016099456697702408,
0.05545979365706444,
-0.031081659719347954,
-... |
719,695 | ibm_platform_services.iam_identity_v1 | delete_profile_identity |
Delete the identity that can assume the trusted profile.
Delete the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier_id: Identifier of the identity that can ass... | def delete_profile_identity(
self,
profile_id: str,
identity_type: str,
identifier_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete the identity that can assume the trusted profile.
Delete the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted ... | (self, profile_id: str, identity_type: str, identifier_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.07858941704034805,
0.0031240901444107294,
0.04644570127129555,
-0.03312697634100914,
0.025600556284189224,
-0.020863022655248642,
-0.03580860048532486,
0.0390801765024662,
-0.00858566164970398,
-0.0007162166875787079,
0.01223713718354702,
0.04265567660331726,
-0.028925767168402672,
-0.0... |
719,696 | ibm_platform_services.iam_identity_v1 | delete_profile_template_version |
Delete version of trusted profile template.
Delete a specific version of a trusted profile template in an enterprise account.
If the version is assigned to child accounts, you must first delete the
assignment.
:param str template_id: ID of the trusted profile template.
... | def delete_profile_template_version(
self,
template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Delete version of trusted profile template.
Delete a specific version of a trusted profile template in an enterprise account.
If the version is assigned to child accounts, you ... | (self, template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.030754931271076202,
-0.010871382430195808,
0.00007069375715218484,
-0.05172836408019066,
0.02082689478993416,
-0.014333372935652733,
-0.049163930118083954,
0.06385449320077896,
0.005316628143191338,
0.01770377717912197,
0.009928036481142044,
0.010303542949259281,
-0.0659426748752594,
-0.... |
719,697 | ibm_platform_services.iam_identity_v1 | delete_service_id |
Deletes a service ID and associated API keys.
Deletes a service ID and all API keys associated to it. Before deleting the
service ID, all associated API keys are deleted. In case a Delete Conflict (status
code 409) a retry of the request may help as the service ID is only deleted if th... | def delete_service_id(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Deletes a service ID and associated API keys.
Deletes a service ID and all API keys associated to it. Before deleting the
service ID, all associated API keys are deleted. In case a Delete Conflict (status
code 409... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03619399666786194,
-0.018523145467042923,
0.006846745498478413,
-0.04625104367733002,
0.00914319884032011,
-0.033921219408512115,
-0.0365159772336483,
0.09727492183446884,
-0.02511420287191868,
0.060190752148628235,
-0.022822484374046326,
0.010492661036550999,
0.021856553852558136,
-0.0... |
719,698 | ibm_platform_services.iam_identity_v1 | delete_trusted_profile_assignment |
Delete assignment.
Delete a trusted profile assignment. This removes any IAM resources created by
this assignment in child accounts.
:param str assignment_id: ID of the Assignment Record.
:param dict headers: A `dict` containing the request headers
:return: A `Detailed... | def delete_trusted_profile_assignment(
self,
assignment_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete assignment.
Delete a trusted profile assignment. This removes any IAM resources created by
this assignment in child accounts.
:param str assignment_id: ID of the Assignment Record... | (self, assignment_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04533702880144119,
0.06677631288766861,
-0.00011961867130594328,
-0.03926317021250725,
0.006123572122305632,
0.011876566335558891,
-0.04681934043765068,
0.07823710888624191,
0.011135410517454147,
-0.03653354570269585,
-0.010755794122815132,
0.010520793497562408,
-0.013042530044913292,
-... |
719,699 | ibm_platform_services.iam_identity_v1 | disable_api_key |
disable the API key.
Disable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
... | def disable_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
disable the API key.
Disable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.007125647738575935,
-0.0030564439948648214,
0.007052983157336712,
-0.011826122179627419,
-0.0008231507963500917,
-0.023743076249957085,
-0.03511504456400871,
0.027939440682530403,
0.017648352310061455,
0.01689445972442627,
-0.033970583230257034,
-0.037040650844573975,
0.037531133741140366... |
719,701 | ibm_platform_services.iam_identity_v1 | enable_api_key |
Enable the API key.
Enable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
:param dict headers: A `dict` containing the request headers
... | def enable_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Enable the API key.
Enable an API key. Users can manage user API keys for themself, or service ID API
keys for service IDs that are bound to an entity they have access to.
:param str id: Unique ID of the API key.
... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.018139218911528587,
-0.035833075642585754,
0.0010125023545697331,
0.005038156174123287,
0.03484956547617912,
-0.0011348609114065766,
-0.015448490157723427,
0.033012449741363525,
0.006643314845860004,
0.004622948821634054,
-0.013119618408381939,
-0.06776922941207886,
0.05470528453588486,
... |
719,704 | ibm_platform_services.iam_identity_v1 | get_account_settings |
Get account configurations.
Returns the details of an account's configuration.
:param str account_id: Unique ID of the account.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` conta... | def get_account_settings(
self,
account_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get account configurations.
Returns the details of an account's configuration.
:param str account_id: Unique ID of the account.
:param bool include_his... | (self, account_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.08268788456916809,
-0.021609865128993988,
0.009838326834142208,
-0.007005501072853804,
-0.019753215834498405,
0.02637590281665325,
-0.05367055907845497,
-0.03738181293010712,
-0.04838772490620613,
0.0012668760027736425,
-0.002293296856805682,
-0.03324741870164871,
-0.013551625423133373,
... |
719,705 | ibm_platform_services.iam_identity_v1 | get_account_settings_assignment |
Get assignment.
Get an assigment for an account settings template.
:param str assignment_id: ID of the Assignment Record.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing ... | def get_account_settings_assignment(
self,
assignment_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get assignment.
Get an assigment for an account settings template.
:param str assignment_id: ID of the Assignment Record.
:param bool inc... | (self, assignment_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.029621591791510582,
0.02401413954794407,
-0.02953258529305458,
-0.031045706942677498,
0.0178370401263237,
0.043293096125125885,
-0.05034246668219566,
-0.015327038243412971,
-0.03033364936709404,
-0.033324290066957474,
0.021005695685744286,
-0.015380442142486572,
-0.004334650002419949,
0... |
719,706 | ibm_platform_services.iam_identity_v1 | get_account_settings_template_version |
Get version of an account settings template.
Get a specific version of an account settings template in an Enterprise Account.
:param str template_id: ID of the account settings template.
:param str version: Version of the account settings template.
:param bool include_history:... | def get_account_settings_template_version(
self,
template_id: str,
version: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get version of an account settings template.
Get a specific version of an account settings template in an Enterprise Accoun... | (self, template_id: str, version: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.035720787942409515,
-0.07333502918481827,
0.0017853566678240895,
-0.013217783533036709,
0.009858719073235989,
-0.00437634252011776,
-0.029366783797740936,
-0.010159122757613659,
-0.03430069610476494,
-0.010778137482702732,
0.023304082453250885,
-0.01319047436118126,
-0.06208353117108345,
... |
719,707 | ibm_platform_services.iam_identity_v1 | get_api_key |
Get details of an API key.
Returns the details of an API key. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. In case of service IDs and their API keys, a user must be either an account
owner, ... | def get_api_key(
self,
id: str,
*,
include_history: Optional[bool] = None,
include_activity: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get details of an API key.
Returns the details of an API key. Users can manage user API keys for themself, or
service ID API ke... | (self, id: str, *, include_history: Optional[bool] = None, include_activity: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.036759935319423676,
-0.0709461197257042,
-0.03938964381814003,
0.015256025828421116,
0.01993727684020996,
-0.01871567592024803,
0.02420821785926819,
0.016067318618297577,
-0.014370132237672806,
0.0006976414588280022,
-0.01439810823649168,
-0.025028835982084274,
0.05710752308368683,
-0.0... |
719,708 | ibm_platform_services.iam_identity_v1 | get_api_keys_details |
Get details of an API key by its value.
Returns the details of an API key by its value. Users can manage user API keys for
themself, or service ID API keys for service IDs that are bound to an entity they
have access to.
:param str iam_api_key: (optional) API key value.
... | def get_api_keys_details(
self,
*,
iam_api_key: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get details of an API key by its value.
Returns the details of an API key by its value. Users can manage user API keys for
themself, or s... | (self, *, iam_api_key: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03250120207667351,
-0.0648932158946991,
-0.06671299785375595,
-0.028643276542425156,
0.016678249463438988,
-0.00856204703450203,
0.012501862831413746,
-0.021291380748152733,
-0.030972590669989586,
0.02507651597261429,
-0.027260247617959976,
-0.022183071821928024,
0.053610607981681824,
-... |
719,710 | ibm_platform_services.iam_identity_v1 | get_claim_rule |
Get a claim rule for a trusted profile.
A specific claim rule can be fetched for a given trusted profile ID and rule ID.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to get.
:param dict headers: A `dict` containing the request head... | def get_claim_rule(
self,
profile_id: str,
rule_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get a claim rule for a trusted profile.
A specific claim rule can be fetched for a given trusted profile ID and rule ID.
:param str profile_id: ID of the trusted profile.
:param str rule_id:... | (self, profile_id: str, rule_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04078384116292,
0.06835400313138962,
-0.016686733812093735,
0.003613673150539398,
-0.012374430894851685,
-0.004620323423296213,
-0.007602328900247812,
-0.0161778274923563,
0.0006272033206187189,
-0.03335560858249664,
-0.014490405097603798,
0.031677115708589554,
0.020284781232476234,
-0.... |
719,713 | ibm_platform_services.iam_identity_v1 | get_latest_account_settings_template_version |
Get latest version of an account settings template.
Get the latest version of a specific account settings template in an enterprise
account.
:param str template_id: ID of the account settings template.
:param bool include_history: (optional) Defines if the entity history is
... | def get_latest_account_settings_template_version(
self,
template_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get latest version of an account settings template.
Get the latest version of a specific account settings template in an enterprise
... | (self, template_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.038498733192682266,
-0.08080704510211945,
-0.0066484492272138596,
-0.023516828194260597,
-0.002809107070788741,
-0.008077041245996952,
-0.028681740164756775,
-0.016117451712489128,
-0.05150258541107178,
-0.014459919184446335,
0.024853844195604324,
-0.018681593239307404,
-0.0682427585124969... |
719,714 | ibm_platform_services.iam_identity_v1 | get_latest_profile_template_version |
Get latest version of a trusted profile template.
Get the latest version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param bool include_history: (optional) Defines if the entity history is
included... | def get_latest_profile_template_version(
self,
template_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get latest version of a trusted profile template.
Get the latest version of a trusted profile template in an enterprise account.
:param str... | (self, template_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.018723130226135254,
-0.07818369567394257,
-0.005873833317309618,
-0.02256283350288868,
-0.013941783457994461,
-0.01950935460627079,
-0.015495949424803257,
0.011482544243335724,
-0.03274719417095184,
-0.011208279989659786,
0.035416699945926666,
-0.010458623059093952,
-0.08184055238962173,
... |
719,715 | ibm_platform_services.iam_identity_v1 | get_link |
Get link to a trusted profile.
Get a specific link to a trusted profile by `link_id`.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` contai... | def get_link(
self,
profile_id: str,
link_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get link to a trusted profile.
Get a specific link to a trusted profile by `link_id`.
:param str profile_id: ID of the trusted profile.
:param str link_id: ID of the link.
:param dict headers:... | (self, profile_id: str, link_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03428998962044716,
0.03899863362312317,
-0.041066739708185196,
0.022970784455537796,
-0.0007380333845503628,
0.013959737494587898,
-0.037502944469451904,
0.00015623342187609524,
0.023820187896490097,
0.012242468073964119,
-0.018317539244890213,
0.01533539965748787,
0.045166030526161194,
... |
719,716 | ibm_platform_services.iam_identity_v1 | get_mfa_report |
Get MFA enrollment status report for the account.
Get MFA enrollment status report for the account by specifying the account ID and
the reference that is generated by triggering the report. Reports older than a day
are deleted when generating a new report.
:param str account_i... | def get_mfa_report(
self,
account_id: str,
reference: str,
**kwargs,
) -> DetailedResponse:
"""
Get MFA enrollment status report for the account.
Get MFA enrollment status report for the account by specifying the account ID and
the reference that is generated by triggering the report. Re... | (self, account_id: str, reference: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.022286592051386833,
0.022340036928653717,
0.02331986278295517,
0.006066014524549246,
0.010929515585303307,
-0.030214276164770126,
-0.032886527478694916,
-0.012568497098982334,
-0.05447833612561226,
-0.0038680864963680506,
-0.025119179859757423,
-0.001655683503486216,
0.00927271880209446,
... |
719,717 | ibm_platform_services.iam_identity_v1 | get_mfa_status |
Get MFA enrollment status for a single user in the account.
Get MFA enrollment status for a single user in the account.
:param str account_id: ID of the account.
:param str iam_id: iam_id of the user. This user must be the member of the
account.
:param dict head... | def get_mfa_status(
self,
account_id: str,
iam_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get MFA enrollment status for a single user in the account.
Get MFA enrollment status for a single user in the account.
:param str account_id: ID of the account.
:param str iam_id: iam_id of ... | (self, account_id: str, iam_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.006038249004632235,
0.019177589565515518,
0.024264385923743248,
0.000388123415177688,
0.029852434992790222,
-0.031653232872486115,
-0.016244329512119293,
-0.05016248673200607,
-0.06817048788070679,
-0.010953318327665329,
-0.026046620681881905,
-0.0421052984893322,
0.02764320559799671,
0.... |
719,718 | ibm_platform_services.iam_identity_v1 | get_profile |
Get a trusted profile.
Retrieve a trusted profile by its `profile-id`. Only the trusted profile's data is
returned (`name`, `description`, `iam_id`, etc.), not the federated users or
compute resources that qualify to apply the trusted profile.
:param str profile_id: ID of the ... | def get_profile(
self,
profile_id: str,
*,
include_activity: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get a trusted profile.
Retrieve a trusted profile by its `profile-id`. Only the trusted profile's data is
returned (`name`, `description`, `iam_id`, etc.), not the... | (self, profile_id: str, *, include_activity: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.07462327182292938,
-0.031012989580631256,
0.017926210537552834,
0.005472065415233374,
-0.005268883425742388,
-0.0048163412138819695,
0.03415307775139809,
0.009327908977866173,
-0.0034148460254073143,
-0.04248354583978653,
-0.014001099392771721,
0.03805048018693924,
-0.027466537430882454,
... |
719,719 | ibm_platform_services.iam_identity_v1 | get_profile_identities |
Get a list of identities that can assume the trusted profile.
Get a list of identities that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing t... | def get_profile_identities(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get a list of identities that can assume the trusted profile.
Get a list of identities that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `di... | (self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.08611427247524261,
-0.03677796944975853,
0.00796557031571865,
0.009634033776819706,
-0.004758710507303476,
0.02395053207874298,
-0.006611064076423645,
-0.01386798545718193,
0.006853260565549135,
-0.019465412944555283,
-0.018092967569828033,
0.02116975747048855,
-0.04998215660452843,
-0.... |
719,720 | ibm_platform_services.iam_identity_v1 | get_profile_identity |
Get the identity that can assume the trusted profile.
Get the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier_id: Identifier of the identity that can assume th... | def get_profile_identity(
self,
profile_id: str,
identity_type: str,
identifier_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get the identity that can assume the trusted profile.
Get the identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
... | (self, profile_id: str, identity_type: str, identifier_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.07443466037511826,
-0.026396669447422028,
0.033556610345840454,
0.02009807713329792,
0.04044737666845322,
-0.012857384979724884,
0.0031358383130282164,
-0.015522174537181854,
-0.012776634655892849,
-0.036643099039793015,
0.008200732991099358,
0.04877372458577156,
-0.02298717387020588,
-... |
719,721 | ibm_platform_services.iam_identity_v1 | get_profile_template_version |
Get version of trusted profile template.
Get a specific version of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str version: Version of the Profile Template.
:param bool include_history: (optional) Defi... | def get_profile_template_version(
self,
template_id: str,
version: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get version of trusted profile template.
Get a specific version of a trusted profile template in an enterprise account.
:param s... | (self, template_id: str, version: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.018728433176875114,
-0.06633970886468887,
-0.0036012723576277494,
-0.007216168567538261,
-0.0017177569679915905,
-0.014059948734939098,
-0.015549504198133945,
0.014041783288121223,
-0.017856497317552567,
-0.005894642323255539,
0.029264312237501144,
-0.0023955500219017267,
-0.07760219275951... |
719,722 | ibm_platform_services.iam_identity_v1 | get_report |
Get activity report for the account.
Get activity report for the account by specifying the account ID and the reference
that is generated by triggering the report. Reports older than a day are deleted
when generating a new report.
:param str account_id: ID of the account.
... | def get_report(
self,
account_id: str,
reference: str,
**kwargs,
) -> DetailedResponse:
"""
Get activity report for the account.
Get activity report for the account by specifying the account ID and the reference
that is generated by triggering the report. Reports older than a day are del... | (self, account_id: str, reference: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.0071809496730566025,
-0.03081567957997322,
-0.0072073182091116905,
-0.002579692518338561,
-0.017420616000890732,
-0.03369860723614693,
-0.01847534440457821,
0.019002709537744522,
-0.03515765070915222,
-0.03587838262319565,
-0.030534418299794197,
0.0013425827492028475,
0.0021435178350657225... |
719,723 | ibm_platform_services.iam_identity_v1 | get_service_id |
Get details of a service ID.
Returns the details of a service ID. Users can manage user API keys for themself,
or service ID API keys for service IDs that are bound to an entity they have
access to. Note: apikey details are only included in the response when creating a
Service ... | def get_service_id(
self,
id: str,
*,
include_history: Optional[bool] = None,
include_activity: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get details of a service ID.
Returns the details of a service ID. Users can manage user API keys for themself,
or service ID... | (self, id: str, *, include_history: Optional[bool] = None, include_activity: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.0369134396314621,
-0.03868209198117256,
0.025616900995373726,
0.00569581426680088,
0.007573816459625959,
-0.030998922884464264,
0.013806882314383984,
0.04568061977624893,
-0.05347789451479912,
0.009523135609924793,
-0.02289736457169056,
0.01230448018759489,
0.015670621767640114,
-0.0356... |
719,724 | ibm_platform_services.iam_identity_v1 | get_trusted_profile_assignment |
Get assignment.
Get an assigment for a trusted profile template.
:param str assignment_id: ID of the Assignment Record.
:param bool include_history: (optional) Defines if the entity history is
included in the response.
:param dict headers: A `dict` containing th... | def get_trusted_profile_assignment(
self,
assignment_id: str,
*,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get assignment.
Get an assigment for a trusted profile template.
:param str assignment_id: ID of the Assignment Record.
:param bool includ... | (self, assignment_id: str, *, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04569225385785103,
0.0261558648198843,
-0.026245316490530968,
-0.023096593096852303,
0.008976542390882969,
0.03696170821785927,
-0.020663490518927574,
0.00893181562423706,
-0.01748793199658394,
-0.036890145391225815,
-0.003209102666005492,
-0.0013898657634854317,
-0.033723533153533936,
... |
719,725 | ibm_platform_services.iam_identity_v1 | list_account_settings_assignments |
List assignments.
List account settings assignments.
:param str account_id: (optional) Account ID of the Assignments to query.
This parameter is required unless using a pagetoken.
:param str template_id: (optional) Filter results by Template Id.
:param str templ... | def list_account_settings_assignments(
self,
*,
account_id: Optional[str] = None,
template_id: Optional[str] = None,
template_version: Optional[str] = None,
target: Optional[str] = None,
target_type: Optional[str] = None,
limit: Optional[int] = None,
pagetoken: Optional[str] = None,
... | (self, *, account_id: Optional[str] = None, template_id: Optional[str] = None, template_version: Optional[str] = None, target: Optional[str] = None, target_type: Optional[str] = None, limit: Optional[int] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: ... | [
-0.006002943962812424,
0.0019453561399132013,
-0.05555809289216995,
-0.039903804659843445,
0.015279389917850494,
0.051717668771743774,
-0.04162285104393959,
-0.058008644729852676,
-0.04743834584951401,
-0.01288369856774807,
0.0135420560836792,
-0.025291915982961655,
-0.0004454774025361985,
... |
719,726 | ibm_platform_services.iam_identity_v1 | list_account_settings_templates |
List account settings templates.
List account settings templates in an enterprise account.
:param str account_id: (optional) Account ID of the account settings
templates to query. This parameter is required unless using a pagetoken.
:param str limit: (optional) Optional... | def list_account_settings_templates(
self,
*,
account_id: Optional[str] = None,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
L... | (self, *, account_id: Optional[str] = None, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.01761789806187153,
-0.03204084187746048,
-0.006727663800120354,
-0.06397213786840439,
-0.0014092036290094256,
0.07602168619632721,
-0.0687919557094574,
-0.05696149542927742,
-0.05447855591773987,
-0.020630285143852234,
0.03532708063721657,
-0.0010765859624370933,
-0.04359745234251022,
-... |
719,727 | ibm_platform_services.iam_identity_v1 | list_api_keys |
Get API keys for a given service or user IAM ID and account ID.
Returns the list of API key details for a given service or user IAM ID and account
ID. Users can manage user API keys for themself, or service ID API keys for
service IDs that are bound to an entity they have access to. In... | def list_api_keys(
self,
*,
account_id: Optional[str] = None,
iam_id: Optional[str] = None,
pagesize: Optional[int] = None,
pagetoken: Optional[str] = None,
scope: Optional[str] = None,
type: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
inclu... | (self, *, account_id: Optional[str] = None, iam_id: Optional[str] = None, pagesize: Optional[int] = None, pagetoken: Optional[str] = None, scope: Optional[str] = None, type: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_... | [
-0.05618280544877052,
-0.0767781212925911,
-0.09434471279382706,
-0.035057466477155685,
0.013004577718675137,
0.02867821790277958,
-0.000443660537712276,
-0.05909794941544533,
-0.028034614399075508,
0.013591392897069454,
0.0007808425580151379,
-0.052737634629011154,
0.027163855731487274,
-... |
719,728 | ibm_platform_services.iam_identity_v1 | list_claim_rules |
List claim rules for a trusted profile.
Get a list of all claim rules for a trusted profile. The `profile-id` query
parameter determines the profile from which to retrieve the list of claim rules.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` ... | def list_claim_rules(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
List claim rules for a trusted profile.
Get a list of all claim rules for a trusted profile. The `profile-id` query
parameter determines the profile from which to retrieve the list of claim rules.
:param st... | (self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.0642705038189888,
0.03063681162893772,
-0.02231414243578911,
-0.04600035026669502,
-0.037984590977430344,
0.030402114614844322,
-0.01951584778726101,
-0.01928115077316761,
-0.012872154824435711,
0.019570007920265198,
-0.04148697108030319,
0.016446750611066818,
-0.0031413112301379442,
0.... |
719,729 | ibm_platform_services.iam_identity_v1 | list_links |
List links to a trusted profile.
Get a list of links to a trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
... | def list_links(
self,
profile_id: str,
**kwargs,
) -> DetailedResponse:
"""
List links to a trusted profile.
Get a list of links to a trusted profile.
:param str profile_id: ID of the trusted profile.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedRe... | (self, profile_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.06501179933547974,
0.01010944601148367,
-0.037491124123334885,
-0.021293772384524345,
-0.03122716024518013,
0.06163889169692993,
-0.03309893608093262,
-0.012166546657681465,
0.02503732591867447,
0.043588295578956604,
-0.03910344839096069,
-0.002437015762552619,
0.04225395992398262,
-0.0... |
719,730 | ibm_platform_services.iam_identity_v1 | list_profile_templates |
List trusted profile templates.
List the trusted profile templates in an enterprise account.
:param str account_id: (optional) Account ID of the trusted profile
templates to query. This parameter is required unless using a pagetoken.
:param str limit: (optional) Optiona... | def list_profile_templates(
self,
*,
account_id: Optional[str] = None,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List trust... | (self, *, account_id: Optional[str] = None, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04268472269177437,
-0.02920822985470295,
0.007237883750349283,
-0.07495495676994324,
-0.015630895271897316,
0.07532166689634323,
-0.03938435763120651,
-0.03520389273762703,
-0.02625623717904091,
-0.02770473062992096,
0.043601490557193756,
0.009580226615071297,
-0.06146012991666794,
-0.0... |
719,731 | ibm_platform_services.iam_identity_v1 | list_profiles |
List trusted profiles.
List the trusted profiles in an account. The `account_id` query parameter
determines the account from which to retrieve the list of trusted profiles.
:param str account_id: Account ID to query for trusted profiles.
:param str name: (optional) Name of the... | def list_profiles(
self,
account_id: str,
*,
name: Optional[str] = None,
pagesize: Optional[int] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
pagetoken: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
... | (self, account_id: str, *, name: Optional[str] = None, pagesize: Optional[int] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, pagetoken: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.09856131672859192,
-0.03550667688250542,
-0.04100508615374565,
-0.038507506251335144,
-0.027790267020463943,
0.04622391611337662,
-0.01808883436024189,
-0.07347366213798523,
-0.01842433214187622,
0.00856913160532713,
-0.0023438134230673313,
0.019831551238894463,
-0.017995642498135567,
-... |
719,732 | ibm_platform_services.iam_identity_v1 | list_service_ids |
List service IDs.
Returns a list of service IDs. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. Note: apikey details are only included in the response when creating a Service
ID with an api ke... | def list_service_ids(
self,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
pagesize: Optional[int] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[bool] = None,
**kwargs,
) -> DetailedRe... | (self, *, account_id: Optional[str] = None, name: Optional[str] = None, pagesize: Optional[int] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.0429580919444561,
-0.07613925635814667,
-0.032860297709703445,
-0.04065541923046112,
-0.017137939110398293,
0.03550271317362785,
-0.0419011265039444,
-0.04439254477620125,
-0.03363414853811264,
0.023328736424446106,
-0.002170553896576166,
-0.03716365993022919,
0.01652452163398266,
-0.07... |
719,733 | ibm_platform_services.iam_identity_v1 | list_trusted_profile_assignments |
List assignments.
List trusted profile template assignments.
:param str account_id: (optional) Account ID of the Assignments to query.
This parameter is required unless using a pagetoken.
:param str template_id: (optional) Filter results by Template Id.
:param s... | def list_trusted_profile_assignments(
self,
*,
account_id: Optional[str] = None,
template_id: Optional[str] = None,
template_version: Optional[str] = None,
target: Optional[str] = None,
target_type: Optional[str] = None,
limit: Optional[int] = None,
pagetoken: Optional[str] = None,
... | (self, *, account_id: Optional[str] = None, template_id: Optional[str] = None, template_version: Optional[str] = None, target: Optional[str] = None, target_type: Optional[str] = None, limit: Optional[int] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: ... | [
-0.022825049236416817,
0.0022502096835523844,
-0.05144929513335228,
-0.042118534445762634,
0.0065519786439836025,
0.05966482684016228,
-0.01795520819723606,
-0.05222995579242706,
-0.0371929332613945,
-0.010427404195070267,
0.014795389957726002,
-0.010074247606098652,
-0.026709767058491707,
... |
719,734 | ibm_platform_services.iam_identity_v1 | list_versions_of_account_settings_template |
List account settings template versions.
List the versions of a specific account settings template in an enterprise
account.
:param str template_id: ID of the account settings template.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: ... | def list_versions_of_account_settings_template(
self,
template_id: str,
*,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List a... | (self, template_id: str, *, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.036828573793172836,
-0.07270103693008423,
-0.0014180748257786036,
-0.03193771094083786,
-0.01048961654305458,
0.047658346593379974,
-0.043981004506349564,
-0.025741390883922577,
-0.037398561835289,
-0.004497848451137543,
0.002329366048797965,
-0.02292822301387787,
-0.05615300312638283,
-... |
719,735 | ibm_platform_services.iam_identity_v1 | list_versions_of_profile_template |
List trusted profile template versions.
List the versions of a trusted profile template in an enterprise account.
:param str template_id: ID of the trusted profile template.
:param str limit: (optional) Optional size of a single page.
:param str pagetoken: (optional) Optional ... | def list_versions_of_profile_template(
self,
template_id: str,
*,
limit: Optional[str] = None,
pagetoken: Optional[str] = None,
sort: Optional[str] = None,
order: Optional[str] = None,
include_history: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
List trusted pr... | (self, template_id: str, *, limit: Optional[str] = None, pagetoken: Optional[str] = None, sort: Optional[str] = None, order: Optional[str] = None, include_history: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.014971683733165264,
-0.06333187222480774,
-0.008461658842861652,
-0.03298535197973251,
-0.026369955390691757,
0.03793315216898918,
-0.024977240711450577,
0.004134621936827898,
-0.016657602041959763,
-0.006748253013938665,
0.020597519353032112,
-0.014440253376960754,
-0.07352068275213242,
... |
719,736 | ibm_platform_services.iam_identity_v1 | lock_api_key |
Lock the API key.
Locks an API key by ID. Users can manage user API keys for themself, or service ID
API keys for service IDs that are bound to an entity they have access to. In case
of service IDs and their API keys, a user must be either an account owner, a IBM
Cloud org mana... | def lock_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Lock the API key.
Locks an API key by ID. Users can manage user API keys for themself, or service ID
API keys for service IDs that are bound to an entity they have access to. In case
of service IDs and their API keys, ... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.0006202070508152246,
-0.022552983835339546,
-0.04657881334424019,
0.047020670026540756,
0.01645907573401928,
-0.029751528054475784,
-0.016265762969851494,
0.03161099925637245,
-0.0027569872327148914,
0.01251000165939331,
-0.024265168234705925,
-0.09676610678434372,
0.04878808557987213,
... |
719,737 | ibm_platform_services.iam_identity_v1 | lock_service_id |
Lock the service ID.
Locks a service ID by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their API keys, a user must be either an account owner, a
IBM Cloud org... | def lock_service_id(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Lock the service ID.
Locks a service ID by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their AP... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.002468059305101633,
0.003767282934859395,
0.0022480294574052095,
0.02771677076816559,
0.02456883154809475,
-0.042431991547346115,
-0.014407877810299397,
0.054539453238248825,
-0.016866624355316162,
0.023674743250012398,
-0.029132412746548653,
-0.07070756703615189,
0.00495940214022994,
-0... |
719,745 | ibm_platform_services.iam_identity_v1 | set_profile_identities |
Update the list of identities that can assume the trusted profile.
Update the list of identities that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str if_match: Entity tag of the Identities to be updated. Specify
the tag that ... | def set_profile_identities(
self,
profile_id: str,
if_match: str,
*,
identities: Optional[List['ProfileIdentityRequest']] = None,
**kwargs,
) -> DetailedResponse:
"""
Update the list of identities that can assume the trusted profile.
Update the list of identities that can assume the ... | (self, profile_id: str, if_match: str, *, identities: Optional[List[ibm_platform_services.iam_identity_v1.ProfileIdentityRequest]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04061341658234596,
-0.030136706307530403,
-0.04072428122162819,
-0.004203618038445711,
-0.049963001161813736,
-0.014356971718370914,
-0.009395779110491276,
-0.028529169037938118,
-0.020325185731053352,
0.003979579079896212,
-0.02230227179825306,
-0.012075007893145084,
-0.02516627497971058... |
719,746 | ibm_platform_services.iam_identity_v1 | set_profile_identity |
Add a specific identity that can assume the trusted profile.
Add a specific identity that can assume the trusted profile.
:param str profile_id: ID of the trusted profile.
:param str identity_type: Type of the identity.
:param str identifier: Identifier of the identity that ca... | def set_profile_identity(
self,
profile_id: str,
identity_type: str,
identifier: str,
type: str,
*,
accounts: Optional[List[str]] = None,
description: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Add a specific identity that can assume the trusted profile.
A... | (self, profile_id: str, identity_type: str, identifier: str, type: str, *, accounts: Optional[List[str]] = None, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.07945236563682556,
-0.011370491236448288,
0.034139689058065414,
0.008027059026062489,
0.008586648851633072,
-0.016336264088749886,
-0.008995761163532734,
-0.02208264172077179,
-0.03165680170059204,
-0.013345514424145222,
0.0015576820587739348,
0.03773235157132149,
-0.029117485508322716,
... |
719,748 | ibm_platform_services.iam_identity_v1 | unlock_api_key |
Unlock the API key.
Unlocks an API key by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their API keys, a user must be either an account owner, a
IBM Cloud org ... | def unlock_api_key(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Unlock the API key.
Unlocks an API key by ID. Users can manage user API keys for themself, or service
ID API keys for service IDs that are bound to an entity they have access to. In
case of service IDs and their API ... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.014716836623847485,
-0.007090240716934204,
-0.023053867742419243,
0.026140263304114342,
-0.014255759306252003,
-0.0436612032353878,
-0.032934099435806274,
0.037130843847990036,
-0.025443943217396736,
0.02361845225095749,
-0.016448229551315308,
-0.06729847937822342,
0.03837293013930321,
-... |
719,749 | ibm_platform_services.iam_identity_v1 | unlock_service_id |
Unlock the service ID.
Unlocks a service ID by ID. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. In case of service IDs and their API keys, a user must be either an account
owner, a IBM Cloud... | def unlock_service_id(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Unlock the service ID.
Unlocks a service ID by ID. Users can manage user API keys for themself, or
service ID API keys for service IDs that are bound to an entity they have access
to. In case of service IDs and th... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.013528636656701565,
0.004608162213116884,
0.0172871183604002,
0.008700362406671047,
-0.00386025314219296,
-0.06327880173921585,
-0.03637300431728363,
0.06036290153861046,
-0.03430915251374245,
0.0449124239385128,
-0.02667858637869358,
-0.038607265800237656,
-0.0032780198380351067,
-0.047... |
719,750 | ibm_platform_services.iam_identity_v1 | update_account_settings |
Update account configurations.
Allows a user to configure settings on their account with regards to MFA, MFA
excemption list, session lifetimes, access control for creating new identities,
and enforcing IP restrictions on token creation.
:param str if_match: Version of the acc... | def update_account_settings(
self,
if_match: str,
account_id: str,
*,
restrict_create_service_id: Optional[str] = None,
restrict_create_platform_apikey: Optional[str] = None,
allowed_ip_addresses: Optional[str] = None,
mfa: Optional[str] = None,
user_mfa: Optional[List['AccountSettin... | (self, if_match: str, account_id: str, *, restrict_create_service_id: Optional[str] = None, restrict_create_platform_apikey: Optional[str] = None, allowed_ip_addresses: Optional[str] = None, mfa: Optional[str] = None, user_mfa: Optional[List[ibm_platform_services.iam_identity_v1.AccountSettingsUserMFA]] = None, session... | [
0.022826995700597763,
-0.022089282050728798,
-0.010928714647889137,
0.010270040482282639,
-0.033724095672369,
-0.018063468858599663,
-0.04750881716609001,
-0.04776174947619438,
-0.06875500082969666,
0.016661809757351875,
0.005322083830833435,
-0.0116875059902668,
0.017810536548495293,
0.01... |
719,751 | ibm_platform_services.iam_identity_v1 | update_account_settings_assignment |
Update assignment.
Update an account settings assignment. Call this method to retry failed
assignments or migrate the settings in child accounts to a new version.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the assignment to be update... | def update_account_settings_assignment(
self,
assignment_id: str,
if_match: str,
template_version: int,
**kwargs,
) -> DetailedResponse:
"""
Update assignment.
Update an account settings assignment. Call this method to retry failed
assignments or migrate the settings in child account... | (self, assignment_id: str, if_match: str, template_version: int, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.02596675418317318,
0.019611254334449768,
-0.05215141177177429,
-0.022680053487420082,
0.0018124522175639868,
-0.003466016845777631,
-0.04517852142453194,
-0.018022380769252777,
-0.031032994389533997,
-0.02518593519926071,
0.016869310289621353,
-0.047539133578538895,
0.013718798756599426,
... |
719,752 | ibm_platform_services.iam_identity_v1 | update_account_settings_template_version |
Update version of an account settings template.
Update a specific version of an account settings template in an Enterprise
Account.
:param str if_match: Entity tag of the Template to be updated. Specify the
tag that you retrieved when reading the account settings templa... | def update_account_settings_template_version(
self,
if_match: str,
template_id: str,
version: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
account_settings: Optional['AccountSettingsComponent'] = None,
**kwargs,
) -> Det... | (self, if_match: str, template_id: str, version: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, account_settings: Optional[ibm_platform_services.iam_identity_v1.AccountSettingsComponent] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.06696847081184387,
-0.06636717915534973,
-0.02876788191497326,
-0.0077697704546153545,
-0.012317012064158916,
-0.021740324795246124,
-0.036377932876348495,
-0.025028619915246964,
-0.059038981795310974,
-0.006449755281209946,
0.020875973626971245,
-0.030289892107248306,
-0.03722349554300308... |
719,753 | ibm_platform_services.iam_identity_v1 | update_api_key |
Updates an API key.
Updates properties of an API key. This does NOT affect existing access tokens.
Their token content will stay unchanged until the access token is refreshed. To
update an API key, pass the property to be modified. To delete one property's
value, pass the prope... | def update_api_key(
self,
id: str,
if_match: str,
*,
name: Optional[str] = None,
description: Optional[str] = None,
support_sessions: Optional[bool] = None,
action_when_leaked: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Updates an API key.
Updates properti... | (self, id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, support_sessions: Optional[bool] = None, action_when_leaked: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.011901467107236385,
-0.06543856114149094,
-0.08046172559261322,
0.00013154413318261504,
0.004280138295143843,
-0.034299638122320175,
-0.0017303465865552425,
0.027178268879652023,
-0.029675627127289772,
0.0026631972286850214,
-0.015754811465740204,
-0.06071699410676956,
0.06781885772943497... |
719,754 | ibm_platform_services.iam_identity_v1 | update_claim_rule |
Update claim rule for a trusted profile.
Update a specific claim rule for a given trusted profile ID and rule ID.
:param str profile_id: ID of the trusted profile.
:param str rule_id: ID of the claim rule to update.
:param str if_match: Version of the claim rule to be updated.... | def update_claim_rule(
self,
profile_id: str,
rule_id: str,
if_match: str,
type: str,
conditions: List['ProfileClaimRuleConditions'],
*,
context: Optional['ResponseContext'] = None,
name: Optional[str] = None,
realm_name: Optional[str] = None,
cr_type: Optional[str] = None,
... | (self, profile_id: str, rule_id: str, if_match: str, type: str, conditions: List[ibm_platform_services.iam_identity_v1.ProfileClaimRuleConditions], *, context: Optional[ibm_platform_services.iam_identity_v1.ResponseContext] = None, name: Optional[str] = None, realm_name: Optional[str] = None, cr_type: Optional[str] = N... | [
-0.0289164986461401,
0.04084359481930733,
-0.05549359694123268,
-0.006538810208439827,
-0.03574293851852417,
-0.028552165254950523,
-0.022262634709477425,
-0.03507180139422417,
-0.027900202199816704,
-0.01089162565767765,
-0.01587722823023796,
-0.010738221928477287,
0.029856093227863312,
0... |
719,755 | ibm_platform_services.iam_identity_v1 | update_profile |
Update a trusted profile.
Update the name or description of an existing trusted profile.
:param str profile_id: ID of the trusted profile to be updated.
:param str if_match: Version of the trusted profile to be updated. Specify
the version that you retrived when reading... | def update_profile(
self,
profile_id: str,
if_match: str,
*,
name: Optional[str] = None,
description: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Update a trusted profile.
Update the name or description of an existing trusted profile.
:param str profile_id: ID ... | (self, profile_id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04249176010489464,
-0.011072985827922821,
-0.0640939250588417,
-0.010107263922691345,
-0.03750376030802727,
-0.032534513622522354,
0.008546169847249985,
-0.027546511963009834,
0.005213022697716951,
-0.004575458820909262,
-0.030003009364008904,
-0.007997676730155945,
-0.00926342885941267,
... |
719,756 | ibm_platform_services.iam_identity_v1 | update_profile_template_version |
Update version of trusted profile template.
Update a specific version of a trusted profile template in an enterprise account.
:param str if_match: Entity tag of the Template to be updated. Specify the
tag that you retrieved when reading the Profile Template. This value helps
... | def update_profile_template_version(
self,
if_match: str,
template_id: str,
version: str,
*,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
profile: Optional['TemplateProfileComponentRequest'] = None,
policy_template_references: O... | (self, if_match: str, template_id: str, version: str, *, account_id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, profile: Optional[ibm_platform_services.iam_identity_v1.TemplateProfileComponentRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_i... | [
0.04468924552202225,
-0.0614716075360775,
-0.04331301525235176,
-0.0021885880269110203,
-0.022535767406225204,
-0.025249997153878212,
-0.036775924265384674,
-0.006178699433803558,
-0.036450982093811035,
-0.006336392369121313,
0.027142314240336418,
-0.01438351534307003,
-0.06258023530244827,
... |
719,757 | ibm_platform_services.iam_identity_v1 | update_service_id |
Update service ID.
Updates properties of a service ID. This does NOT affect existing access tokens.
Their token content will stay unchanged until the access token is refreshed. To
update a service ID, pass the property to be modified. To delete one property's
value, pass the pr... | def update_service_id(
self,
id: str,
if_match: str,
*,
name: Optional[str] = None,
description: Optional[str] = None,
unique_instance_crns: Optional[List[str]] = None,
**kwargs,
) -> DetailedResponse:
"""
Update service ID.
Updates properties of a service ID. This does NOT a... | (self, id: str, if_match: str, *, name: Optional[str] = None, description: Optional[str] = None, unique_instance_crns: Optional[List[str]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.008536743000149727,
-0.04405159130692482,
-0.025680121034383774,
-0.0067195650190114975,
0.007049053441733122,
-0.04696706682443619,
-0.0069891465827822685,
0.032589390873909,
-0.04944321885704994,
0.03380750119686127,
-0.04728657007217407,
-0.03716229274868965,
0.03017314523458481,
-0.0... |
719,758 | ibm_platform_services.iam_identity_v1 | update_trusted_profile_assignment |
Update assignment.
Update a trusted profile assignment. Call this method to retry failed assignments
or migrate the trusted profile in child accounts to a new version.
:param str assignment_id: ID of the Assignment Record.
:param str if_match: Version of the Assignment to be u... | def update_trusted_profile_assignment(
self,
assignment_id: str,
if_match: str,
template_version: int,
**kwargs,
) -> DetailedResponse:
"""
Update assignment.
Update a trusted profile assignment. Call this method to retry failed assignments
or migrate the trusted profile in child acc... | (self, assignment_id: str, if_match: str, template_version: int, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.011230102740228176,
0.024206100031733513,
-0.06030610576272011,
-0.009338716976344585,
-0.002482443815097213,
-0.007901990786194801,
-0.0345359742641449,
-0.013885317370295525,
-0.013603427447378635,
-0.029752951115369797,
0.000006065093657525722,
-0.03931899741292,
-0.010275316424667835,
... |
719,759 | ibm_platform_services.iam_policy_management_v1 | IamPolicyManagementV1 | The iam_policy_management V1 service. | class IamPolicyManagementV1(BaseService):
"""The iam_policy_management V1 service."""
DEFAULT_SERVICE_URL = 'https://iam.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'iam_policy_management'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'IamPolicyMa... | (authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None | [
0.00022637101938016713,
-0.025961540639400482,
-0.054001666605472565,
-0.053045518696308136,
0.03866170346736908,
-0.019071027636528015,
-0.03687411919236183,
-0.032051797956228256,
-0.019289279356598854,
0.020442895591259003,
-0.021076863631606102,
0.04730862006545067,
-0.015849219635128975... |
719,760 | ibm_platform_services.iam_policy_management_v1 | __init__ |
Construct a new client for the iam_policy_management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the au... | def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam_policy_management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python... | (self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType | [
-0.0038361691404134035,
-0.05974242463707924,
0.009844955056905746,
-0.020362604409456253,
0.0069996449165046215,
-0.03661632537841797,
0.008985907770693302,
0.016571886837482452,
-0.039634354412555695,
0.031598396599292755,
-0.02034442313015461,
0.033507391810417175,
-0.04232512786984444,
... |
719,765 | ibm_platform_services.iam_policy_management_v1 | commit_policy_template |
Commit a policy template version.
Commit a policy template version. You can make no further changes to the policy
template once it's committed. If you need to make updates after committing a
version, create a new version.
:param str policy_template_id: The policy template ID.
... | def commit_policy_template(
self,
policy_template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Commit a policy template version.
Commit a policy template version. You can make no further changes to the policy
template once it's committed. If you need to make updates after ... | (self, policy_template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.03307121619582176,
-0.045253463089466095,
-0.05575169250369072,
-0.023325419053435326,
0.006418073084205389,
-0.04794072359800339,
-0.054139334708452225,
0.06302520632743835,
-0.012504717335104942,
-0.014161861501634121,
-0.0024655612651258707,
-0.009880159981548786,
-0.031781330704689026,... |
719,767 | ibm_platform_services.iam_policy_management_v1 | create_policy |
Create a policy.
Creates a policy to grant access between a subject and a resource. There are two
types of policies: **access** and **authorization**. A policy administrator might
want to create an access policy which grants access to a user, service-id, or an
access group. The... | def create_policy(
self,
type: str,
subjects: List['PolicySubject'],
roles: List['PolicyRole'],
resources: List['PolicyResource'],
*,
description: Optional[str] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy.
Creates a ... | (self, type: str, subjects: List[ibm_platform_services.iam_policy_management_v1.PolicySubject], roles: List[ibm_platform_services.iam_policy_management_v1.PolicyRole], resources: List[ibm_platform_services.iam_policy_management_v1.PolicyResource], *, description: Optional[str] = None, accept_language: Optional[str] = N... | [
-0.030324386432766914,
0.016776040196418762,
-0.006634704768657684,
-0.06750264018774033,
0.03255587816238403,
-0.01824045740067959,
-0.0403461754322052,
-0.03295435756444931,
-0.014823484234511852,
0.03757673501968384,
0.0006525122444145381,
0.08750637620687485,
0.011257081292569637,
-0.0... |
719,768 | ibm_platform_services.iam_policy_management_v1 | create_policy_template |
Create a policy template.
Create a policy template. Policy templates define a policy without requiring a
subject, and you can use them to grant access to multiple subjects.
:param str name: Required field when creating a new template. Otherwise
this field is optional. I... | def create_policy_template(
self,
name: str,
account_id: str,
policy: 'TemplatePolicy',
*,
description: Optional[str] = None,
committed: Optional[bool] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy template.
Create a p... | (self, name: str, account_id: str, policy: ibm_platform_services.iam_policy_management_v1.TemplatePolicy, *, description: Optional[str] = None, committed: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.017952391877770424,
-0.013613187707960606,
-0.01373608410358429,
-0.02240503765642643,
-0.019285349175333977,
-0.03828708827495575,
-0.05702412873506546,
0.008394799195230007,
0.009756118059158325,
-0.03149940446019173,
0.05290235951542854,
0.012053343467414379,
-0.05970895290374756,
-0.... |
719,769 | ibm_platform_services.iam_policy_management_v1 | create_policy_template_assignment |
Create a policy authorization template assignment.
Assign a policy template to child accounts and account groups. This creates the
policy in the accounts and account groups that you specify.
:param str version: specify version of response body format.
:param AssignmentTargetDe... | def create_policy_template_assignment(
self,
version: str,
target: 'AssignmentTargetDetails',
options: 'PolicyAssignmentV1Options',
templates: List['AssignmentTemplateDetails'],
*,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a policy authori... | (self, version: str, target: ibm_platform_services.iam_policy_management_v1.AssignmentTargetDetails, options: ibm_platform_services.iam_policy_management_v1.PolicyAssignmentV1Options, templates: List[ibm_platform_services.iam_policy_management_v1.AssignmentTemplateDetails], *, accept_language: Optional[str] = None, **k... | [
0.01954019069671631,
0.026987655088305473,
-0.037895556539297104,
-0.04047207906842232,
-0.0047910138964653015,
0.006149800028651953,
-0.06578593701124191,
-0.005881804041564465,
-0.01112417969852686,
0.010240263305604458,
0.04231513664126396,
0.002687011146917939,
-0.007696653250604868,
-... |
719,770 | ibm_platform_services.iam_policy_management_v1 | create_policy_template_version |
Create a new policy template version.
Create a new version of a policy template. Use this if you need to make updates to
a policy template that is committed.
:param str policy_template_id: The policy template ID.
:param TemplatePolicy policy: The core set of properties associa... | def create_policy_template_version(
self,
policy_template_id: str,
policy: 'TemplatePolicy',
*,
name: Optional[str] = None,
description: Optional[str] = None,
committed: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a new policy template version.
Create a... | (self, policy_template_id: str, policy: ibm_platform_services.iam_policy_management_v1.TemplatePolicy, *, name: Optional[str] = None, description: Optional[str] = None, committed: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.04397023096680641,
-0.034545306116342545,
-0.02051306888461113,
-0.005156943574547768,
-0.026458607986569405,
-0.059570103883743286,
-0.04217318817973137,
0.04978194832801819,
0.0015353735070675611,
-0.019069697707891464,
0.014137385413050652,
0.006428256630897522,
-0.05039370805025101,
... |
719,771 | ibm_platform_services.iam_policy_management_v1 | create_role |
Create a role.
Creates a custom role for a specific service within the account. An account owner
or a user assigned the Administrator role on the Role management service can
create a custom role. Any number of actions for a single service can be mapped to
the new role, but ther... | def create_role(
self,
display_name: str,
actions: List[str],
name: str,
account_id: str,
service_name: str,
*,
description: Optional[str] = None,
accept_language: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a role.
Creates a custom role for a sp... | (self, display_name: str, actions: List[str], name: str, account_id: str, service_name: str, *, description: Optional[str] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04288686439394951,
-0.026158640161156654,
0.03214558586478233,
-0.06640420854091644,
0.03488470986485481,
-0.043239038437604904,
-0.05814770236611366,
0.04546947032213211,
-0.027430377900600433,
0.004182056523859501,
0.03621514141559601,
0.08021721988916397,
-0.012472799979150295,
-0.01... |
719,772 | ibm_platform_services.iam_policy_management_v1 | create_v2_policy |
Create a policy.
Creates a policy to grant access between a subject and a resource. Currently,
there is one type of a v2/policy: **access**. A policy administrator might want to
create an access policy that grants access to a user, service-id, or an access
group.
### Ac... | def create_v2_policy(
self,
control: 'Control',
type: str,
*,
description: Optional[str] = None,
subject: Optional['V2PolicySubject'] = None,
resource: Optional['V2PolicyResource'] = None,
pattern: Optional[str] = None,
rule: Optional['V2PolicyRule'] = None,
accept_language: Opti... | (self, control: ibm_platform_services.iam_policy_management_v1.Control, type: str, *, description: Optional[str] = None, subject: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicySubject] = None, resource: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicyResource] = None, pattern: Optional... | [
0.014843957498669624,
0.013586344197392464,
-0.009627955965697765,
-0.040614716708660126,
0.04407830536365509,
-0.04166616499423981,
-0.017379799857735634,
-0.03688311204314232,
-0.03719235956668854,
0.0068601761013269424,
0.012174106203019619,
0.0714571624994278,
0.01564800553023815,
-0.0... |
719,773 | ibm_platform_services.iam_policy_management_v1 | delete_policy |
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will fail.
:param str policy_id: The policy ID.
:param dict head... | def delete_policy(
self,
policy_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will ... | (self, policy_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.016687702387571335,
0.02566048689186573,
0.015550963580608368,
-0.05046376213431358,
0.026424525305628777,
-0.0548616386950016,
-0.03257409855723381,
0.09831861406564713,
-0.007957173511385918,
0.047370340675115585,
-0.04233887419104576,
0.05210364609956741,
0.012895466759800911,
-0.011... |
719,774 | ibm_platform_services.iam_policy_management_v1 | delete_policy_assignment |
Remove a policy assignment.
Remove a policy template assignment by providing a policy assignment ID. You can't
delete a policy assignment if the status is "in_progress".
:param str assignment_id: The policy template assignment ID.
:param dict headers: A `dict` containing the r... | def delete_policy_assignment(
self,
assignment_id: str,
**kwargs,
) -> DetailedResponse:
"""
Remove a policy assignment.
Remove a policy template assignment by providing a policy assignment ID. You can't
delete a policy assignment if the status is "in_progress".
:param str assignment_id:... | (self, assignment_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.0028768822085112333,
0.05590888857841492,
-0.022979650646448135,
-0.07796793431043625,
0.02685680240392685,
0.009630916640162468,
-0.06224688142538071,
0.06511490792036057,
-0.023510767146945,
-0.033088572323322296,
-0.005528039764612913,
-0.0031977652106434107,
0.008382792584598064,
0.0... |
719,775 | ibm_platform_services.iam_policy_management_v1 | delete_policy_template |
Delete a policy template.
Delete a policy template by providing the policy template ID. This deletes all
versions of this template. A policy template can't be deleted if any version of
the template is assigned to one or more child accounts. You must remove the policy
assignment... | def delete_policy_template(
self,
policy_template_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy template.
Delete a policy template by providing the policy template ID. This deletes all
versions of this template. A policy template can't be deleted if any version of
the tem... | (self, policy_template_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.04556669667363167,
-0.015463434159755707,
0.021691376343369484,
-0.07440216094255447,
0.0030653877183794975,
-0.035405803471803665,
-0.052266594022512436,
0.07151491194963455,
0.001019675168208778,
-0.0008236060384660959,
0.0008178222924470901,
-0.005816139280796051,
-0.03435084968805313,
... |
719,776 | ibm_platform_services.iam_policy_management_v1 | delete_policy_template_version |
Delete a policy template version.
Delete a specific version of a policy template by providing a policy template ID
and version number. You can't delete a policy template version that is assigned to
one or more child accounts. You must remove the policy assignments first.
:para... | def delete_policy_template_version(
self,
policy_template_id: str,
version: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy template version.
Delete a specific version of a policy template by providing a policy template ID
and version number. You can't delete a policy template ... | (self, policy_template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.05900535359978676,
-0.018029414117336273,
-0.016800135374069214,
-0.0570310577750206,
0.017833847552537918,
-0.040268175303936005,
-0.05334322527050972,
0.06910033524036407,
-0.01354999840259552,
0.02888803742825985,
-0.0019742953591048717,
0.01371762715280056,
-0.02778913825750351,
-0.0... |
719,777 | ibm_platform_services.iam_policy_management_v1 | delete_role |
Delete a role by ID.
Delete a role by providing a role ID.
:param str role_id: The role ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
| def delete_role(
self,
role_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a role by ID.
Delete a role by providing a role ID.
:param str role_id: The role ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, head... | (self, role_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.005616876762360334,
0.014559897594153881,
0.047683894634246826,
-0.09529448300600052,
0.05706673488020897,
-0.05618709325790405,
-0.040206942707300186,
0.11098141968250275,
-0.021258000284433365,
0.04042685404419899,
-0.01086723618209362,
0.05369477719068527,
-0.027946939691901207,
-0.0... |
719,778 | ibm_platform_services.iam_policy_management_v1 | delete_v2_policy |
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will fail.
:param str id: The policy ID.
:param dict headers: A ... | def delete_v2_policy(
self,
id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete a policy by ID.
Delete a policy by providing a policy ID. A policy cannot be deleted if the
subject ID contains a locked service ID. If the subject of the policy is a locked
service-id, the request will fail... | (self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.015305477194488049,
0.02677282691001892,
0.00886626448482275,
-0.047336917370557785,
0.024138817563652992,
-0.03879519924521446,
-0.004825882147997618,
0.08511614054441452,
-0.010931139811873436,
0.053959570825099945,
-0.013875586912035942,
0.043461158871650696,
-0.01555947121232748,
-0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.