Microsoft365PublishScope Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. models. Microsoft365PublishScope
- com.
- com.
public final class Microsoft365PublishScope
extends ExpandableStringEnum<Microsoft365PublishScope>
The publish scope for the generated Microsoft Teams app.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Microsoft365Publish |
PERSONAL
Publish the app for the acting user only. |
|
static final
Microsoft365Publish |
SHARED
Publish the app to a shared scope within the organization. |
|
static final
Microsoft365Publish |
TENANT
Publish the app tenant-wide. |
Constructor Summary
| Constructor | Description |
|---|---|
| Microsoft365PublishScope() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Microsoft365Publish |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Microsoft365Publish |
fromString(String name)
Creates or finds a Microsoft365Publish |
|
static
Collection<Microsoft365Publish |
values()
Gets known Microsoft365Publish |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PERSONAL
public static final Microsoft365PublishScope PERSONAL
Publish the app for the acting user only.
SHARED
public static final Microsoft365PublishScope SHARED
Publish the app to a shared scope within the organization.
TENANT
public static final Microsoft365PublishScope TENANT
Publish the app tenant-wide.
Constructor Details
Microsoft365PublishScope
@Deprecated
public Microsoft365PublishScope()
Deprecated
Creates a new instance of Microsoft365PublishScope value.
Method Details
fromString
public static Microsoft365PublishScope fromString(String name)
Creates or finds a Microsoft365PublishScope from its string representation.
Parameters:
Returns:
values
public static Collection<Microsoft365PublishScope> values()
Gets known Microsoft365PublishScope values.
Returns: