MarketplaceSubscription Class

Marketplace Subscription Definition.

Readonly variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

Python
MarketplaceSubscription(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

The marketplace subscription name. Required.

model_id
str

Model id for which to create marketplace subscription. Required.

marketplace_plan
<xref:azure.ai.ml.entities.models.MarketplacePlan>

The plan associated with the marketplace subscription.

status
str

Status of the marketplace subscription. Possible values are: "pending_fulfillment_start", "subscribed", "unsubscribed", "suspended".

provisioning_state
str

Provisioning state of the marketplace subscription. Possible values are: "creating", "deleting", "succeeded", "failed", "updating", and "canceled".

id
str

ARM resource id of the marketplace subscription.

system_data

System data of the marketplace subscription.

Methods

as_dict

Python
as_dict(*, exclude_readonly: bool = False) -> Dict[str, Any]

Keyword-Only Parameters

Name Description
exclude_readonly
Required

clear

Python
clear() -> None

copy

Python
copy() -> Model

get

Python
get(key: str, default: Any = None) -> Any

Parameters

Name Description
key
Required
default
Required
Default value: None

items

Python
items() -> ItemsView[str, Any]

keys

Python
keys() -> KeysView[str]

pop

Python
pop(key: str, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default
Required

popitem

Python
popitem() -> Tuple[str, Any]

setdefault

Python
setdefault(key: str, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default
Required

update

Python
update(*args: Any, **kwargs: Any) -> None

values

Python
values() -> ValuesView[Any]

Attributes

id

ARM resource id of the marketplace subscription.

Python
id: str | None

marketplace_plan

The plan associated with the marketplace subscription.

Python
marketplace_plan: '_models.MarketplacePlan' | None

model_id

Model id for which to create marketplace subscription. Required.

Python
model_id: str

name

The marketplace subscription name. Required.

Python
name: str

provisioning_state

"creating", "deleting", "succeeded", "failed", "updating", and "canceled".

Python
provisioning_state: str | None

status

"pending_fulfillment_start", "subscribed", "unsubscribed", "suspended".

Python
status: str | None

system_data

System data of the endpoint.

Python
system_data: SystemData | None