ClassifierCopyAuthorization Class
Authorization to copy a document classifier to the specified target resource and classifierId.
Constructor
ClassifierCopyAuthorization(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
target_resource_id
|
ID of the target Azure resource where the document classifier should be copied to. Required. |
|
target_resource_region
|
Location of the target Azure resource where the document classifier should be copied to. Required. |
|
target_classifier_id
|
Identifier of the target document classifier. Required. |
|
target_classifier_location
|
URL of the copied document classifier in the target account. Required. |
|
access_token
|
Token used to authorize the request. Required. |
|
expiration_date_time
|
Date/time when the access token expires. Required. |
Methods
| as_dict |
Return a dict that can be JSONify using json.dump. |
| clear | |
| copy | |
| get | |
| items | |
| keys | |
| pop | |
| popitem | |
| setdefault | |
| update | |
| values |
as_dict
clear
clear() -> None
copy
copy() -> Model
get
get(key: str, default: Any = None) -> Any
Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
Default value: None
|
items
items() -> ItemsView[str, Any]
keys
keys() -> KeysView[str]
pop
pop(key: str, default: ~typing.Any = <object object>) -> Any
Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
|
popitem
popitem() -> Tuple[str, Any]
setdefault
setdefault(key: str, default: ~typing.Any = <object object>) -> Any
Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
|
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> ValuesView[Any]
Attributes
access_token
Token used to authorize the request. Required.
access_token: str
expiration_date_time
Date/time when the access token expires. Required.
expiration_date_time: datetime
target_classifier_id
Identifier of the target document classifier. Required.
target_classifier_id: str
target_classifier_location
URL of the copied document classifier in the target account. Required.
target_classifier_location: str
target_resource_id
ID of the target Azure resource where the document classifier should be copied to. Required.
target_resource_id: str
target_resource_region
Location of the target Azure resource where the document classifier should be copied to. Required.
target_resource_region: str