azure-docs-sdk-java/docs-ref-autogen/system.fabric.PackageSharin...

55 строки
2.7 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: system.fabric.PackageSharingPolicy.PackageSharingPolicy(String packageName, PackageSharingPolicyScope sharingScope)
name: PackageSharingPolicy(String packageName, PackageSharingPolicyScope sharingScope)
nameWithType: PackageSharingPolicy.PackageSharingPolicy(String packageName, PackageSharingPolicyScope sharingScope)
parameters:
- description: <p>Name of specific package that should be shared. </p>
name: packageName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>PackageSharingPolicyScope parameter to indicate whether Code, Config, Data or All packages should be shared. </p>
name: sharingScope
type: <xref href="system.fabric.PackageSharingPolicyScope?alt=system.fabric.PackageSharingPolicyScope&text=PackageSharingPolicyScope" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates PackageSharingPolicy object.</p>
<p></p>
syntax: public PackageSharingPolicy(String packageName, PackageSharingPolicyScope sharingScope)
uid: system.fabric.PackageSharingPolicy.PackageSharingPolicy(String,PackageSharingPolicyScope)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: system.fabric.PackageSharingPolicy.getPackageName()
name: getPackageName()
nameWithType: PackageSharingPolicy.getPackageName()
returns:
description: <p>The name of code, configuration or data package that should be shared. </p>
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets the name of code, configuration or data package that should be shared.</p>
<p></p>
syntax: public String getPackageName()
uid: system.fabric.PackageSharingPolicy.getPackageName()
- fullName: system.fabric.PackageSharingPolicy.getSharingScope()
name: getSharingScope()
nameWithType: PackageSharingPolicy.getSharingScope()
returns:
description: <p>The scope for package sharing policy. </p>
type: <xref href="system.fabric.PackageSharingPolicyScope?alt=system.fabric.PackageSharingPolicyScope&text=PackageSharingPolicyScope" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets the scope for package sharing policy.</p>
<p></p>
syntax: public PackageSharingPolicyScope getSharingScope()
uid: system.fabric.PackageSharingPolicy.getSharingScope()
nameWithType: PackageSharingPolicy
syntax: public class PackageSharingPolicy
type: class
uid: system.fabric.PackageSharingPolicy
fullName: system.fabric.PackageSharingPolicy
name: PackageSharingPolicy
package: system.fabric
summary: <p>Represents a policy for the package sharing. </p>
metadata: {}